Skip to content

Commit e3a463f

Browse files
committed
Run prettier
1 parent 2131997 commit e3a463f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

react-native-scripts/src/scripts/init.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ https://github.com/npm/npm/issues/16991
135135
await fse.writeFile(appPackagePath, JSON.stringify(appPackage, null, 2));
136136

137137
// 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+
);
139142

140143
// Rename gitignore after the fact to prevent npm from renaming it to .npmignore
141144
try {

react-native-scripts/src/scripts/start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ const startWaitingForCommand = () => {
3535
stdin.resume();
3636
stdin.setEncoding('utf8');
3737
stdin.on('data', handleKeypress);
38-
}
38+
};
3939

4040
const stopWaitingForCommand = () => {
4141
stdin.removeListener('data', handleKeypress);
4242
stdin.setRawMode(false);
4343
stdin.resume();
44-
}
44+
};
4545

4646
let isInteractive = false;
4747
if (args.interactive && typeof stdin.setRawMode === 'function') {

0 commit comments

Comments
 (0)