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:
parent
2d9f6fa12c
commit
5c84c3d31f
2
cli.js
2
cli.js
@ -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);
|
||||
|
2
index.js
2
index.js
@ -1 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = require('./lib')(process.cwd()).path();
|
||||
|
@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const BinWrapper = require('bin-wrapper');
|
||||
const pkgConf = require('pkg-conf');
|
||||
|
@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const signale = require('signale');
|
||||
const bin = require('.');
|
||||
|
@ -40,9 +40,6 @@
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
/* eslint-env mocha */
|
||||
|
||||
'use strict';
|
||||
|
||||
const assert = require('assert');
|
||||
const binCheck = require('bin-check');
|
||||
const hugoBin = require('..');
|
||||
|
Loading…
x
Reference in New Issue
Block a user