File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -190,25 +190,21 @@ export async function error_exit(...msg) {
190
190
} )
191
191
192
192
// Assemble boilerplate
193
- if ( argv . assemble )
193
+ if ( argv . assemble ) {
194
+ // prettier-ignore
195
+ const daisconfig = await fetchdaisconfig ( dir )
196
+ . catch ( e => { throw e } )
197
+
198
+ // prettier-ignore
194
199
await Assemble (
195
- await fetchdaisconfig ( dir ) . catch ( e => {
196
- throw e
197
- } ) ,
198
- dir ,
199
- argv . yes ,
200
- argv . offline
201
- ) . then (
202
- ( ) => {
203
- const text = colors . cyan ( 'Boilerplate Assembled.' , 'Happy hacking!' )
204
- log . withbox ( `
205
- ${ text [ 0 ] }
206
-
207
- ${ text [ 1 ] }
208
- ` )
209
- } ,
210
- e => {
211
- throw e
212
- }
213
- )
200
+ daisconfig , dir , argv . yes , argv . offline
201
+ ) . catch ( e => { throw e } )
202
+
203
+ const text = colors . cyan ( 'Boilerplate Assembled.' , 'Happy hacking!' )
204
+ log . withbox ( `
205
+ ${ text [ 0 ] }
206
+
207
+ ${ text [ 1 ] }
208
+ ` )
209
+ }
214
210
} ) ( ) . catch ( e => error_exit ( e ) )
You can’t perform that action at this time.
0 commit comments