Skip to content

Commit

Permalink
fix: broken path to template files
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jul 29, 2019
1 parent f67fe59 commit b3a8dcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test": "node japaFile.js",
"lint": "tslint --project tsconfig.json",
"clean": "del build",
"compile": "npm run lint && npm run clean && tsc && copyfiles templates/* build",
"compile": "npm run lint && npm run clean && tsc && copyfiles \"templates/**/*.txt\" build",
"build": "npm run compile",
"commit": "git-cz",
"release": "np",
Expand Down Expand Up @@ -65,7 +65,7 @@
},
"dependencies": {
"@adonisjs/fold": "^6.1.2",
"@adonisjs/sink": "^2.0.11",
"@adonisjs/sink": "^2.0.12",
"@poppinss/application": "^1.0.7",
"fs-extra": "^8.1.0",
"kleur": "^3.0.3",
Expand Down
2 changes: 1 addition & 1 deletion tasks/copyTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function createPackageFile (basePath: string) {
new TemplateFile(
basePath,
template,
join(__dirname, '..', '../templates', template.replace(/\.ts$/, '.txt')),
join(__dirname, '..', 'templates', template.replace(/\.ts$/, '.txt')),
)
.apply({})
.commit()
Expand Down

0 comments on commit b3a8dcf

Please sign in to comment.