utiller 1.0.82 → 1.0.83

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.
@@ -1579,7 +1579,7 @@ var NodeUtiller = /*#__PURE__*/function (_Utiller) {
1579
1579
  }, {
1580
1580
  key: "isEmptyFile",
1581
1581
  value: function isEmptyFile(path) {
1582
- return _lodash["default"].isEqual("", this.getFileContextInRaw(path).trim());
1582
+ return !this.isPathExist(path) || _lodash["default"].isEqual("", this.getFileContextInRaw(path).trim());
1583
1583
  }
1584
1584
  /** 把檔案弄得好看一點 */
1585
1585
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.11",
14
- "utiller": "^1.0.81",
14
+ "utiller": "^1.0.82",
15
15
  "linepayer": "^1.0.4",
16
16
  "databazer": "^1.0.9",
17
17
  "lodash": "^4.17.20",