File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
packages/create-cloudflare/src Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " create-cloudflare " : patch
3+ ---
4+
5+ Removed ` await ` keyword used in non asynchronous function calls
Original file line number Diff line number Diff line change @@ -316,10 +316,10 @@ export const createContext = async (
316316 const experimental = args . experimental ;
317317
318318 const frameworkMap = getFrameworkMap ( { experimental } ) ;
319- const helloWorldTemplateMap = await getHelloWorldTemplateMap ( {
319+ const helloWorldTemplateMap = getHelloWorldTemplateMap ( {
320320 experimental,
321321 } ) ;
322- const otherTemplateMap = await getOtherTemplateMap ( { experimental } ) ;
322+ const otherTemplateMap = getOtherTemplateMap ( { experimental } ) ;
323323
324324 let linesPrinted = 0 ;
325325
@@ -645,7 +645,7 @@ export async function copyTemplateFiles(ctx: C3Context) {
645645 srcdir = join ( getTemplatePath ( ctx ) , variantInfo . path ) ;
646646 }
647647
648- const copyDestDir = await getCopyFilesDestinationDir ( ctx ) ;
648+ const copyDestDir = getCopyFilesDestinationDir ( ctx ) ;
649649 const destdir = join ( ctx . project . path , ...( copyDestDir ? [ copyDestDir ] : [ ] ) ) ;
650650
651651 const s = spinner ( ) ;
You can’t perform that action at this time.
0 commit comments