Skip to content

Commit

Permalink
Use const instead of var in env.js (#7526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Primajin authored and ianschmitz committed Sep 13, 2019
1 parent 74eb65a commit 8b7b819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/env.js
Expand Up @@ -23,7 +23,7 @@ if (!NODE_ENV) {
}

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

0 comments on commit 8b7b819

Please sign in to comment.