Skip to content

Commit abfac75

Browse files
committed
var -> cosnt
1 parent a892da5 commit abfac75

File tree

1 file changed

+1
-1
lines changed
  • packages/react-scripts/scripts

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory, template
118118
}
119119

120120
// Change displayed command to yarn instead of yarnpkg
121-
var displayedCommand = useYarn ? 'yarn' : 'npm';
121+
const displayedCommand = useYarn ? 'yarn' : 'npm';
122122

123123
console.log();
124124
console.log(`Success! Created ${appName} at ${appPath}`);

0 commit comments

Comments
 (0)