@timeax/scaffold 0.0.8 → 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.cjs
CHANGED
|
@@ -1596,7 +1596,7 @@ async function handleScanCommand(cwd, scanOpts, baseOpts) {
|
|
|
1596
1596
|
}
|
|
1597
1597
|
async function handleInitCommand(cwd, initOpts, baseOpts) {
|
|
1598
1598
|
const logger6 = createCliLogger(baseOpts);
|
|
1599
|
-
const scaffoldDirRel = baseOpts.dir ??
|
|
1599
|
+
const scaffoldDirRel = baseOpts.dir ?? SCAFFOLD_ROOT_DIR;
|
|
1600
1600
|
logger6.info(`Initializing scaffold directory at "${scaffoldDirRel}"...`);
|
|
1601
1601
|
const result = await initScaffold(cwd, {
|
|
1602
1602
|
scaffoldDir: scaffoldDirRel,
|