@wocker/core
Advanced tools
Comparing version 1.0.20-dev.4 to 1.0.20-dev.5
@@ -67,3 +67,3 @@ "use strict"; | ||
return new Promise((resolve, reject) => { | ||
fs_1.default.readdir(fullPath, (err, files) => { | ||
const callback = (err, files) => { | ||
if (err) { | ||
@@ -74,3 +74,4 @@ reject(err); | ||
resolve(files); | ||
}); | ||
}; | ||
fs_1.default.readdir(fullPath, callback); | ||
}); | ||
@@ -77,0 +78,0 @@ }); |
{ | ||
"name": "@wocker/core", | ||
"version": "1.0.20-dev.4", | ||
"version": "1.0.20-dev.5", | ||
"author": "Kris Papercut <krispcut@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Core of the Wocker", |
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
103201
2622