Skip to content

Commit

Permalink
fixed file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugos68 committed Sep 23, 2023
1 parent 1878894 commit 4cbc8cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-sloths-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'capkit': patch
---

Fixed file pathing issues
1 change: 0 additions & 1 deletion decs.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ export async function initializeProject({
}

await fs.copyFile(
`${packageDir}/../scripts/hotreload.js`,
`${packageDir}/../../scripts/hotreload.js`,
`${consumerDir}/scripts/hotreload.js`
);

return fs.copyFile(
`${packageDir}/../scripts/hotreload-cleanup.js`,
`${packageDir}/../../scripts/hotreload-cleanup.js`,
`${consumerDir}/scripts/hotreload-cleanup.js`
);
}
Expand Down

0 comments on commit 4cbc8cf

Please sign in to comment.