Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Commit

Permalink
fix(build): build all of src
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Oct 4, 2016
1 parent 8da54d0 commit e847b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"start": "npm run test:watch",
"prebuild": "rimraf dist && mkdir dist",
"build": "cd src && babel index.js -d ../dist && cd ..",
"build": "babel --copy-files --out-dir dist --ignore *.test.js src",
"commit": "git-cz",
"eslint": "eslint src/ -c other/src.eslintrc --ignore-path other/src.eslintignore && eslint src/*.test.js",
"check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function crossEnv(args) {
function getCommandArgsAndEnvVars(args) { // eslint-disable-line
let command;
const envVars = Object.assign({}, process.env);
const commandArgs = args.slice().map(commandConvert);
const commandArgs = args.map(commandConvert);
while (commandArgs.length) {
const shifted = commandArgs.shift();
const match = envSetterRegex.exec(shifted);
Expand Down

0 comments on commit e847b18

Please sign in to comment.