@timeax/scaffold 0.0.7 → 0.0.9
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.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
- package/src/cli/main.ts +2 -1
package/dist/cli.mjs
CHANGED
|
@@ -1585,7 +1585,7 @@ async function handleScanCommand(cwd, scanOpts, baseOpts) {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
async function handleInitCommand(cwd, initOpts, baseOpts) {
|
|
1587
1587
|
const logger6 = createCliLogger(baseOpts);
|
|
1588
|
-
const scaffoldDirRel = baseOpts.dir ??
|
|
1588
|
+
const scaffoldDirRel = baseOpts.dir ?? SCAFFOLD_ROOT_DIR;
|
|
1589
1589
|
logger6.info(`Initializing scaffold directory at "${scaffoldDirRel}"...`);
|
|
1590
1590
|
const result = await initScaffold(cwd, {
|
|
1591
1591
|
scaffoldDir: scaffoldDirRel,
|