blumenjs 0.1.0 → 0.1.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.
package/dist/cli/blumen.js
CHANGED
|
@@ -323,7 +323,7 @@ import * as fs2 from "fs";
|
|
|
323
323
|
import * as path from "path";
|
|
324
324
|
import { execSync as execSync3 } from "child_process";
|
|
325
325
|
function getFrameworkRoot() {
|
|
326
|
-
const cliEntry = process.argv[1];
|
|
326
|
+
const cliEntry = fs2.realpathSync(process.argv[1]);
|
|
327
327
|
const cliDir = path.dirname(cliEntry);
|
|
328
328
|
return path.resolve(cliDir, "..");
|
|
329
329
|
}
|
|
@@ -65,7 +65,7 @@ async function select(question, options) {
|
|
|
65
65
|
|
|
66
66
|
// cli/commands/create.ts
|
|
67
67
|
function getFrameworkRoot() {
|
|
68
|
-
const cliEntry = process.argv[1];
|
|
68
|
+
const cliEntry = fs.realpathSync(process.argv[1]);
|
|
69
69
|
const cliDir = path.dirname(cliEntry);
|
|
70
70
|
return path.resolve(cliDir, "..");
|
|
71
71
|
}
|