mirror of
https://github.com/github/codeql-action.git
synced 2025-12-22 07:10:23 +08:00
Update checked-in dependencies
This commit is contained in:
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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user