Skip to content

Commit a492deb

Browse files
committed
fix: fix blueprint paths
1 parent eeb8b61 commit a492deb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/addon.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class NewCommand extends Command {
2121

2222
async run(argv: any) {
2323
ui.info('\n');
24-
AddonBlueprint.dir = path.join(__dirname, '..', '..', 'blueprints', 'addon');
24+
AddonBlueprint.dir = path.join(__dirname, '..', 'blueprints', 'addon');
2525
let addonBlueprint = new AddonBlueprint();
2626
await addonBlueprint.generate(argv);
2727
}

commands/new.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class NewCommand extends Command {
2121

2222
async run(argv: any) {
2323
ui.info('\n');
24-
AppBlueprint.dir = path.join(__dirname, '..', '..', 'blueprints', 'app');
24+
AppBlueprint.dir = path.join(__dirname, '..', 'blueprints', 'app');
2525
let appBlueprint = new AppBlueprint();
2626
await appBlueprint.generate(argv);
2727
}

0 commit comments

Comments
 (0)