mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
18 lines
494 B
JavaScript
18 lines
494 B
JavaScript
/** PURE_IMPORTS_START _config,_util_hostReportError PURE_IMPORTS_END */
|
|
import { config } from './config';
|
|
import { hostReportError } from './util/hostReportError';
|
|
export var empty = {
|
|
closed: true,
|
|
next: function (value) { },
|
|
error: function (err) {
|
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
throw err;
|
|
}
|
|
else {
|
|
hostReportError(err);
|
|
}
|
|
},
|
|
complete: function () { }
|
|
};
|
|
//# sourceMappingURL=Observer.js.map
|