Skip to content

Commit 772c593

Browse files
committed
fix(complete.sh): fix path error
1 parent 5456a20 commit 772c593

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

complete.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
cd {{ name }}
54
git remote rename origin skeleton
65
./merge-json.js package.json PROJECT-package.json > package.json
76
rm merge-json.js PROJECT-package.json complete.sh

template.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"parse": [
77
"PROJECT-README",
88
"PROJECT-LICENSE",
9-
"PROJECT-package.json",
10-
"complete.sh"
9+
"PROJECT-package.json"
1110
],
1211
"discard": [
1312
"README.md",
@@ -18,6 +17,6 @@
1817
{ "PROJECT-README": "README.md" },
1918
{ "PROJECT-LICENSE": "LICENSE.md" }
2019
],
21-
"complete": "./complete.sh"
20+
"complete": "cd {{ name }} && ./complete.sh"
2221
}
2322

0 commit comments

Comments
 (0)