File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
react-native-scripts/src/scripts Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,10 @@ https://github.com/npm/npm/issues/16991
135
135
await fse . writeFile ( appPackagePath , JSON . stringify ( appPackage , null , 2 ) ) ;
136
136
137
137
// Copy the files for the user
138
- await fse . copy ( path . join ( ownPath , arg [ 'with-web-support' ] ? 'template-with-web' : 'template' ) , appPath ) ;
138
+ await fse . copy (
139
+ path . join ( ownPath , arg [ 'with-web-support' ] ? 'template-with-web' : 'template' ) ,
140
+ appPath
141
+ ) ;
139
142
140
143
// Rename gitignore after the fact to prevent npm from renaming it to .npmignore
141
144
try {
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ const startWaitingForCommand = () => {
35
35
stdin . resume ( ) ;
36
36
stdin . setEncoding ( 'utf8' ) ;
37
37
stdin . on ( 'data' , handleKeypress ) ;
38
- }
38
+ } ;
39
39
40
40
const stopWaitingForCommand = ( ) => {
41
41
stdin . removeListener ( 'data' , handleKeypress ) ;
42
42
stdin . setRawMode ( false ) ;
43
43
stdin . resume ( ) ;
44
- }
44
+ } ;
45
45
46
46
let isInteractive = false ;
47
47
if ( args . interactive && typeof stdin . setRawMode === 'function' ) {
You can’t perform that action at this time.
0 commit comments