File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async function packTemplate(templateName: string) {
2626 const templateDirectory = path . join ( projectTemplatesDirectory , templateName ) ;
2727 const gitignorePath = path . join ( templateDirectory , ".gitignore" ) ;
2828 const ig = ( await fs . pathExists ( gitignorePath ) )
29- ? ignore ( ) . add ( await fs . readFile ( gitignorePath , "utf-8 " ) )
29+ ? ignore ( ) . add ( await fs . readFile ( gitignorePath , "utf8 " ) )
3030 : ignore ( ) ;
3131
3232 const files : PackagedFileEntry [ ] = [ ] ;
@@ -62,7 +62,7 @@ async function packDirectory({
6262 files, ig, currentPath : packItemPath , templateDirectory
6363 } ) ;
6464 } else {
65- const fileContent = await fs . readFile ( itemPath , "utf-8 " ) ;
65+ const fileContent = await fs . readFile ( itemPath , "utf8 " ) ;
6666 const packItem : PackagedFileEntry = {
6767 path : packItemPath ,
6868 content : fileContent
You can’t perform that action at this time.
0 commit comments