vintasend-pug 0.14.0 → 0.14.1
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.
|
@@ -77,7 +77,8 @@ export function runCli(args = process.argv.slice(2)) {
|
|
|
77
77
|
process.exit(1);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
const isExecutedDirectly = process.argv[1] !== undefined &&
|
|
80
|
+
const isExecutedDirectly = process.argv[1] !== undefined &&
|
|
81
|
+
fileURLToPath(import.meta.url) === fs.realpathSync(process.argv[1]);
|
|
81
82
|
if (isExecutedDirectly) {
|
|
82
83
|
runCli(process.argv.slice(2));
|
|
83
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vintasend-pug",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"pug": "^3.0.3",
|
|
28
|
-
"vintasend": "^0.14.
|
|
28
|
+
"vintasend": "^0.14.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "^2.4.5",
|
|
@@ -104,7 +104,8 @@ export function runCli(args: string[] = process.argv.slice(2)): void {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
const isExecutedDirectly =
|
|
107
|
-
process.argv[1] !== undefined &&
|
|
107
|
+
process.argv[1] !== undefined &&
|
|
108
|
+
fileURLToPath(import.meta.url) === fs.realpathSync(process.argv[1]);
|
|
108
109
|
|
|
109
110
|
if (isExecutedDirectly) {
|
|
110
111
|
runCli(process.argv.slice(2));
|