Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Feb 22, 2020
1 parent aa1d015 commit 77ed1e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const concurrently = require('concurrently');
concurrently([
'npm:watch-*',
{ command: 'nodemon', name: 'server' },
{ command: 'deploy', name: 'deploy', env: {PUBLIC_KEY: '...'} }
{ command: 'deploy', name: 'deploy', env: { PUBLIC_KEY: '...' } }
], {
prefix: 'name',
killOthers: ['failure', 'success'],
Expand Down
2 changes: 1 addition & 1 deletion src/get-spawn-opts.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ module.exports = ({
{},
raw && { stdio: 'inherit' },
/^win/.test(process.platform) && { detached: false },
colorSupport && { env: Object.assign({ FORCE_COLOR: colorSupport.level }, process.env, env) }
{ env: Object.assign(colorSupport ? { FORCE_COLOR: colorSupport.level } : {}, process.env, env) }
);

0 comments on commit 77ed1e7

Please sign in to comment.