Skip to content

Commit

Permalink
fix dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
aruniverse committed Feb 7, 2022
1 parent 9f7e37a commit 272f8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions create-cospace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const init = async () => {

console.log(`\nCreating cospace in ${cospaceDir}...`);

const __dirname = path.resolve()
await fs.copy(path.join(__dirname, "../template"), cospaceDir);

process.chdir(cospaceDir);
Expand Down
2 changes: 1 addition & 1 deletion create-cospace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-cospace",
"version": "0.1.1",
"version": "0.1.2",
"description": "Setup a `CoSpace` to link multiple (mono)repos together!",
"author": "https://github.com/aruniverse",
"repository": {
Expand Down

0 comments on commit 272f8ae

Please sign in to comment.