Skip to content

Commit 8b7b819

Browse files
Primajinianschmitz
authored andcommittedSep 13, 2019
Use const instead of var in env.js (#7526)
1 parent 74eb65a commit 8b7b819

File tree

1 file changed

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

1 file changed

+1
-1
lines changed
 

‎packages/react-scripts/config/env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (!NODE_ENV) {
2323
}
2424

2525
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
26-
var dotenvFiles = [
26+
const dotenvFiles = [
2727
`${paths.dotenv}.${NODE_ENV}.local`,
2828
`${paths.dotenv}.${NODE_ENV}`,
2929
// Don't include `.env.local` for `test` environment

0 commit comments

Comments
 (0)