We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fs-extra
1 parent f43252a commit 4c80379Copy full SHA for 4c80379
1 file changed
packages/react-scripts/scripts/init.js
@@ -42,7 +42,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory, template
42
43
// Copy the files for the user
44
var templatePath = path.join(ownPath, 'templates', template);
45
- if (pathExists.sync(templatePath)) {
+ if (fs.existsSync(templatePath)) {
46
fs.copySync(templatePath, appPath);
47
} else {
48
console.error('Could not locate supplied template: ' + template);
0 commit comments