Comparing version 1.6.0 to 1.6.1
@@ -30,4 +30,4 @@ "use strict"; | ||
} | ||
exec(command, cwd = process.cwd()) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
exec(command_1) { | ||
return __awaiter(this, arguments, void 0, function* (command, cwd = process.cwd()) { | ||
return new Promise((resolve, reject) => { | ||
@@ -72,4 +72,4 @@ (0, child_process_1.exec)(command, { cwd }, (error, stdout, stderr) => { | ||
} | ||
sleep(ms = 1000) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
sleep() { | ||
return __awaiter(this, arguments, void 0, function* (ms = 1000) { | ||
return new Promise((resolve) => { | ||
@@ -76,0 +76,0 @@ setTimeout(resolve, ms); |
{ | ||
"name": "h3lp", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Helper for nodeJs", | ||
@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@hotmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195370