@@ -95,13 +95,13 @@ async function main() {
95
95
await command ( "git init" ) ;
96
96
await command ( "git checkout -b main" ) ;
97
97
98
- createLicense ( answers . licenseName ) ;
98
+ await createLicense ( answers . licenseName ) ;
99
99
console . log ( `LICENSE created` ) ;
100
100
101
- createCoc ( answers . cocEmail ) ;
101
+ await createCoc ( answers . cocEmail ) ;
102
102
console . log ( `CODE_OF_CONDUCT.md created` ) ;
103
103
104
- createContributing ( { owner, repo, packageName : answers . packageName } ) ;
104
+ await createContributing ( { owner, repo, packageName : answers . packageName } ) ;
105
105
console . log ( `CONTRIBUTING.md created` ) ;
106
106
107
107
await createReadme ( {
@@ -146,7 +146,7 @@ async function main() {
146
146
await command ( `git push -u origin HEAD` ) ;
147
147
await command ( `git checkout -b initial-version` ) ;
148
148
149
- createReadme ( {
149
+ await createReadme ( {
150
150
repo,
151
151
description : answers . description ,
152
152
} ) ;
@@ -256,7 +256,7 @@ run(script);
256
256
console . log ( `Your new repository is here:
257
257
https://github.com/${ answers . repository }
258
258
259
- To change into the new directory, do
259
+ To change into the new directory, do
260
260
$ cd ${ answers . path } ` ) ;
261
261
} catch ( error ) {
262
262
console . log ( error ) ;
0 commit comments