Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
8
node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js
generated
vendored
8
node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js
generated
vendored
|
|
@ -12,7 +12,8 @@ try {
|
|||
}
|
||||
const getRuleURI = require('eslint-rule-documentation')
|
||||
|
||||
module.exports = function(results) {
|
||||
// eslint-disable-next-line eslint-plugin/prefer-object-rule
|
||||
module.exports = function (results) {
|
||||
let output = '\n'
|
||||
let errors = 0
|
||||
let warnings = 0
|
||||
|
|
@ -82,8 +83,5 @@ function diff(a, b) {
|
|||
fs.writeFileSync(aPath, a, {encoding: 'utf8'})
|
||||
fs.writeFileSync(bPath, b, {encoding: 'utf8'})
|
||||
const result = childProcess.spawnSync('diff', ['-U5', aPath, bPath], {encoding: 'utf8'})
|
||||
return result.stdout
|
||||
.split('\n')
|
||||
.slice(2)
|
||||
.join('\n')
|
||||
return result.stdout.split('\n').slice(2).join('\n')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue