zen-fs-config 0.3.29 → 0.3.30
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/dist/index.js +5 -13
- package/dist/index.mjs +5 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -990,12 +990,9 @@ var ConfigRepo = class {
|
|
|
990
990
|
let current = "";
|
|
991
991
|
for (const part of parts) {
|
|
992
992
|
current += `/${part}`;
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
await this.fullFS.mkdir(current);
|
|
997
|
-
} catch {
|
|
998
|
-
}
|
|
993
|
+
try {
|
|
994
|
+
await this.fullFS.mkdir(current);
|
|
995
|
+
} catch {
|
|
999
996
|
}
|
|
1000
997
|
}
|
|
1001
998
|
}
|
|
@@ -1079,13 +1076,8 @@ async function createConfigRepo(appId, options) {
|
|
|
1079
1076
|
});
|
|
1080
1077
|
const cachedFS = primaryInstance;
|
|
1081
1078
|
try {
|
|
1082
|
-
|
|
1083
|
-
console.log(`[createConfigRepo] /.meta/
|
|
1084
|
-
if (!metaExists) {
|
|
1085
|
-
console.log(`[createConfigRepo] Creating /.meta/ via primaryInstance...`);
|
|
1086
|
-
await primaryInstance.mkdir(META_DIR);
|
|
1087
|
-
console.log(`[createConfigRepo] /.meta/ created`);
|
|
1088
|
-
}
|
|
1079
|
+
await primaryInstance.mkdir(META_DIR);
|
|
1080
|
+
console.log(`[createConfigRepo] /.meta/ ready`);
|
|
1089
1081
|
} catch (err) {
|
|
1090
1082
|
console.error(`[createConfigRepo] Failed to ensure /.meta/:`, err.message);
|
|
1091
1083
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -941,12 +941,9 @@ var ConfigRepo = class {
|
|
|
941
941
|
let current = "";
|
|
942
942
|
for (const part of parts) {
|
|
943
943
|
current += `/${part}`;
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
await this.fullFS.mkdir(current);
|
|
948
|
-
} catch {
|
|
949
|
-
}
|
|
944
|
+
try {
|
|
945
|
+
await this.fullFS.mkdir(current);
|
|
946
|
+
} catch {
|
|
950
947
|
}
|
|
951
948
|
}
|
|
952
949
|
}
|
|
@@ -1030,13 +1027,8 @@ async function createConfigRepo(appId, options) {
|
|
|
1030
1027
|
});
|
|
1031
1028
|
const cachedFS = primaryInstance;
|
|
1032
1029
|
try {
|
|
1033
|
-
|
|
1034
|
-
console.log(`[createConfigRepo] /.meta/
|
|
1035
|
-
if (!metaExists) {
|
|
1036
|
-
console.log(`[createConfigRepo] Creating /.meta/ via primaryInstance...`);
|
|
1037
|
-
await primaryInstance.mkdir(META_DIR);
|
|
1038
|
-
console.log(`[createConfigRepo] /.meta/ created`);
|
|
1039
|
-
}
|
|
1030
|
+
await primaryInstance.mkdir(META_DIR);
|
|
1031
|
+
console.log(`[createConfigRepo] /.meta/ ready`);
|
|
1040
1032
|
} catch (err) {
|
|
1041
1033
|
console.error(`[createConfigRepo] Failed to ensure /.meta/:`, err.message);
|
|
1042
1034
|
}
|