Comparing version 0.0.38 to 0.0.39
{ | ||
"name": "ts2uml", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "typescript workflow to uml sequence", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,2 @@ "use strict"; | ||
} | ||
handlePackageJson(); | ||
} | ||
@@ -32,5 +31,6 @@ catch (e) { | ||
}); | ||
handlePackageJson(); | ||
function handlePackageJson() { | ||
// Step 2: Define the path to the package.json file | ||
const packageJsonPath = (0, path_1.join)(dest, 'package.json'); | ||
const packageJsonPath = (0, path_1.join)(__dirname, 'package.json'); | ||
// Step 3: Read the package.json file into a variable | ||
@@ -37,0 +37,0 @@ if ((0, fs_1.existsSync)(packageJsonPath)) { |
43814