@wocker/core 1.0.20-dev.4 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,13 +64,14 @@ class FileSystem {
64
64
  return __awaiter(this, void 0, void 0, function* () {
65
65
  const fullPath = this.path(...parts);
66
66
  return new Promise((resolve, reject) => {
67
- fs_1.default.readdir(fullPath, (err, files) => {
67
+ const callback = (err, files) => {
68
68
  if (err) {
69
69
  reject(err);
70
70
  return;
71
71
  }
72
72
  resolve(files);
73
- });
73
+ };
74
+ fs_1.default.readdir(fullPath, callback);
74
75
  });
75
76
  });
76
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
- "version": "1.0.20-dev.4",
3
+ "version": "1.0.20",
4
4
  "author": "Kris Papercut <krispcut@gmail.com>",
5
5
  "description": "Core of the Wocker",
6
6
  "license": "MIT",