Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "ts2uml", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "typescript workflow to uml sequence", | ||
@@ -21,4 +21,4 @@ "main": "index.js", | ||
"@types/node": "^20.12.12", | ||
"terser": "^5.31.0" | ||
"terser": "^5.31.0" | ||
} | ||
} |
@@ -11,15 +11,20 @@ "use strict"; | ||
const local = (0, path_1.join)(__dirname, './../../node_modules/.bin'); | ||
if ((0, fs_1.existsSync)(src)) { | ||
if ((0, fs_1.existsSync)(local)) { | ||
console.log(`copying ${src} to ${local}`); | ||
(0, fs_1.copyFileSync)(src, local); | ||
try { | ||
if ((0, fs_1.existsSync)(src)) { | ||
if ((0, fs_1.existsSync)(local)) { | ||
console.log(`copying ${src} to ${local}`); | ||
(0, fs_1.copyFileSync)(src, local); | ||
} | ||
else { | ||
console.log(`copying ${src} to ${dest}`); | ||
(0, fs_1.copyFileSync)(src, dest); | ||
} | ||
} | ||
else { | ||
console.log(`copying ${src} to ${dest}`); | ||
(0, fs_1.copyFileSync)(src, dest); | ||
console.log(`file ${src} does not exist`); | ||
} | ||
} | ||
else { | ||
console.log(`file ${src} does not exist`); | ||
catch (e) { | ||
console.log(e); | ||
} | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16874
319