File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,9 @@ async function init() {
322
322
now : new Date ( ) . format ( 'yyyy.MM.dd' ) ,
323
323
//@ts -ignore
324
324
nowYear : new Date ( ) . format ( 'yyyy' ) ,
325
- framework : ( framework . name || '' ) . replace ( / \S / , ( str : string ) => str . toUpperCase ( ) ) ,
325
+ framework : ( framework ?. name ?? template ?? '' ) . replace ( / \S / , ( str : string ) =>
326
+ str . toUpperCase ( ) ,
327
+ ) ,
326
328
}
327
329
328
330
const write = ( file : string , content ?: string | NodeJS . ArrayBufferView ) => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " create-chrome-ext" ,
3
- "version" : " 0.8.1 " ,
3
+ "version" : " 0.8.2 " ,
4
4
"type" : " module" ,
5
5
"description" : " Scaffolding your chrome extension, multiple boilerplates supported!" ,
6
6
"author" : " yalda" ,
You can’t perform that action at this time.
0 commit comments