mm_expand 1.8.0 → 1.8.2
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.
- package/app/test.js +1 -0
- package/index.js +3 -3
- package/package.json +1 -1
package/app/test.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2123
|
package/index.js
CHANGED
|
@@ -1329,7 +1329,7 @@ if (typeof($) === "undefined") {
|
|
|
1329
1329
|
if (!file.startWith($.rootPath)) {
|
|
1330
1330
|
if (!file.startWith($.runPath)) {
|
|
1331
1331
|
if (file.startWith(slash)) {
|
|
1332
|
-
file = join($.
|
|
1332
|
+
file = join($.runPath, file);
|
|
1333
1333
|
} else {
|
|
1334
1334
|
file = join(dir, file);
|
|
1335
1335
|
}
|
|
@@ -1526,7 +1526,7 @@ if (typeof($) === "undefined") {
|
|
|
1526
1526
|
try {
|
|
1527
1527
|
bl = statSync(this + "").isDirectory();
|
|
1528
1528
|
} catch (err) {
|
|
1529
|
-
console.error("非路径", err);
|
|
1529
|
+
// console.error("非路径", err);
|
|
1530
1530
|
}
|
|
1531
1531
|
return bl;
|
|
1532
1532
|
}
|
|
@@ -1540,7 +1540,7 @@ if (typeof($) === "undefined") {
|
|
|
1540
1540
|
try {
|
|
1541
1541
|
bl = statSync(this + "").isFile();
|
|
1542
1542
|
} catch (err) {
|
|
1543
|
-
console.error("非路径", err);
|
|
1543
|
+
// console.error("非路径", err);
|
|
1544
1544
|
}
|
|
1545
1545
|
return bl
|
|
1546
1546
|
}
|