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/rules/no-then.js
generated
vendored
8
node_modules/eslint-plugin-github/lib/rules/no-then.js
generated
vendored
@@ -3,9 +3,9 @@ module.exports = {
|
||||
type: 'suggestion',
|
||||
docs: {
|
||||
description: 'enforce using `async/await` syntax over Promises',
|
||||
url: require('../url')(module)
|
||||
url: require('../url')(module),
|
||||
},
|
||||
schema: []
|
||||
schema: [],
|
||||
},
|
||||
|
||||
create(context) {
|
||||
@@ -16,7 +16,7 @@ module.exports = {
|
||||
} else if (node.property && node.property.name === 'catch') {
|
||||
context.report({node: node.property, message: 'Prefer async/await to Promise.catch()'})
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user