mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2026-04-30 04:18:03 +08:00
remove global handler
This commit is contained in:
7
dist/index.js
vendored
7
dist/index.js
vendored
@@ -14,13 +14,6 @@ var requestconf_1 = __importDefault(require("./requestconf"));
|
||||
var core = __importStar(require("@actions/core"));
|
||||
var fs = __importStar(require("fs"));
|
||||
var util_1 = require("./util");
|
||||
function sleep(ms) {
|
||||
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
|
||||
}
|
||||
process.on('uncaughtException', function (err) {
|
||||
core.debug("Hahahaha");
|
||||
core.setFailed("eiei");
|
||||
});
|
||||
try {
|
||||
if (core.getInput('custom-config')) {
|
||||
var configPath = core.getInput('custom-config');
|
||||
|
||||
Reference in New Issue
Block a user