1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 09:05:20 -04:00

Re-add `'use strict' statements.

They are still needed.
This commit is contained in:
XhmikosR 2018-11-28 23:33:08 +02:00 committed by Shun Sato
parent 2d9f6fa12c
commit 5c84c3d31f
6 changed files with 10 additions and 3 deletions

2
cli.js
View File

@ -1,5 +1,7 @@
#!/usr/bin/env node #!/usr/bin/env node
'use strict';
const spawn = require('child_process').spawn; const spawn = require('child_process').spawn;
const hugo = require('.'); const hugo = require('.');
const input = process.argv.slice(2); const input = process.argv.slice(2);

View File

@ -1 +1,3 @@
'use strict';
module.exports = require('./lib')(process.cwd()).path(); module.exports = require('./lib')(process.cwd()).path();

View File

@ -1,3 +1,5 @@
'use strict';
const path = require('path'); const path = require('path');
const BinWrapper = require('bin-wrapper'); const BinWrapper = require('bin-wrapper');
const pkgConf = require('pkg-conf'); const pkgConf = require('pkg-conf');

View File

@ -1,3 +1,5 @@
'use strict';
const path = require('path'); const path = require('path');
const signale = require('signale'); const signale = require('signale');
const bin = require('.'); const bin = require('.');

View File

@ -40,9 +40,6 @@
"env": { "env": {
"es6": true, "es6": true,
"node": true "node": true
},
"parserOptions": {
"sourceType": "module"
} }
} }
} }

View File

@ -1,5 +1,7 @@
/* eslint-env mocha */ /* eslint-env mocha */
'use strict';
const assert = require('assert'); const assert = require('assert');
const binCheck = require('bin-check'); const binCheck = require('bin-check');
const hugoBin = require('..'); const hugoBin = require('..');