Skip to content

Commit

Permalink
refactor: upgrade xo to version 0.22.0 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and byCedric committed Aug 20, 2018
1 parent 79ed060 commit 1d1cb64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"semantic-release": "^15.7.0",
"sinon": "^6.1.3",
"tempy": "^0.2.1",
"xo": "^0.21.0"
"xo": "^0.22.0"
},
"engines": {
"node": ">=8.3"
Expand Down
2 changes: 1 addition & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from './helpers/git-utils';

// Save the current process.env
const envBackup = Object.assign({}, process.env);
const envBackup = {...process.env};
// Save the current working diretory
const cwd = process.cwd();

Expand Down
2 changes: 1 addition & 1 deletion test/prepare.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import prepare from '../lib/prepare';
import {gitRepo, gitGetCommits, gitCommitedFiles} from './helpers/git-utils';

// Save the current process.env
const envBackup = Object.assign({}, process.env);
const envBackup = {...process.env};

test.beforeEach(async t => {
// Delete env variables in case they are on the machine running the tests
Expand Down
2 changes: 1 addition & 1 deletion test/verify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import verify from '../lib/verify';
import {gitRepo, gitCommits} from './helpers/git-utils';

// Save the current process.env
const envBackup = Object.assign({}, process.env);
const envBackup = {...process.env};
// Save the current working diretory
const cwd = process.cwd();

Expand Down

0 comments on commit 1d1cb64

Please sign in to comment.