Skip to content

Commit

Permalink
Re-add `'use strict' statements.
Browse files Browse the repository at this point in the history
They are still needed.
  • Loading branch information
XhmikosR authored and satoshun00 committed Dec 17, 2018
1 parent 2d9f6fa commit 5c84c3d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node

'use strict';

const spawn = require('child_process').spawn;
const hugo = require('.');
const input = process.argv.slice(2);
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
'use strict';

module.exports = require('./lib')(process.cwd()).path();
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const BinWrapper = require('bin-wrapper');
const pkgConf = require('pkg-conf');
Expand Down
2 changes: 2 additions & 0 deletions lib/install.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const signale = require('signale');
const bin = require('.');
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
}
}
}
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* eslint-env mocha */

'use strict';

const assert = require('assert');
const binCheck = require('bin-check');
const hugoBin = require('..');
Expand Down

0 comments on commit 5c84c3d

Please sign in to comment.