mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2026-04-19 06:08:06 +08:00
test
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -17,6 +17,11 @@ var util_1 = require("./util");
|
||||
function sleep(ms) {
|
||||
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
|
||||
}
|
||||
process.on('uncaughtException', function (err) {
|
||||
sleep(5000);
|
||||
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