mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
18 lines
523 B
JavaScript
18 lines
523 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var config_1 = require("./config");
|
||
|
var hostReportError_1 = require("./util/hostReportError");
|
||
|
exports.empty = {
|
||
|
closed: true,
|
||
|
next: function (value) { },
|
||
|
error: function (err) {
|
||
|
if (config_1.config.useDeprecatedSynchronousErrorHandling) {
|
||
|
throw err;
|
||
|
}
|
||
|
else {
|
||
|
hostReportError_1.hostReportError(err);
|
||
|
}
|
||
|
},
|
||
|
complete: function () { }
|
||
|
};
|
||
|
//# sourceMappingURL=Observer.js.map
|