@datapos/datapos-development 0.3.358 → 0.3.360
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.
|
@@ -8083,7 +8083,13 @@ async function al(e) {
|
|
|
8083
8083
|
}
|
|
8084
8084
|
async function ol(e, t, i) {
|
|
8085
8085
|
const r = Dt.resolve(e, `${t}${i}`), n = await Xe(r), u = Dt.resolve(process.cwd(), i);
|
|
8086
|
-
|
|
8086
|
+
let h;
|
|
8087
|
+
try {
|
|
8088
|
+
h = await Xe(u);
|
|
8089
|
+
} catch (d) {
|
|
8090
|
+
if (d.code !== "ENOENT") throw d;
|
|
8091
|
+
}
|
|
8092
|
+
if (h === n) {
|
|
8087
8093
|
Ie(`File '${i}' is already up to date.`);
|
|
8088
8094
|
return;
|
|
8089
8095
|
}
|