Skip to content

Commit

Permalink
fix: package execution
Browse files Browse the repository at this point in the history
  • Loading branch information
iwaduarte committed Oct 12, 2022
1 parent b567bec commit 4e3a60f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

const { join } = require('path');
const chalk = require('chalk');
const { promisify } = require('util');
Expand Down Expand Up @@ -34,7 +36,7 @@ const start = async () => {

const backendFolder = monorepo ? 'backend' : '';
const frontendFolder = monorepo ? join(projectName, 'frontend') : '';
const dirLocationFrom = join(__dirname, `template`);
const dirLocationFrom = join(__dirname, `templates`);
const dirLocationTo = join(process.cwd(), projectName, backendFolder);
const projectFolders = [
join(projectName, backendFolder, 'routes'),
Expand Down

0 comments on commit 4e3a60f

Please sign in to comment.