Skip to content

Commit 4c3bf3f

Browse files
dependabot-preview[bot]erunion
authored andcommitted
Bump eslint-config-airbnb-base from 13.2.0 to 14.0.0 (#59)
* Bump eslint-config-airbnb-base from 13.2.0 to 14.0.0 Bumps [eslint-config-airbnb-base](https://github.com/airbnb/javascript) from 13.2.0 to 14.0.0. - [Release notes](https://github.com/airbnb/javascript/releases) - [Commits](airbnb/javascript@eslint-config-airbnb-base-v13.2.0...eslint-config-airbnb-base-v14.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Resolving ESLint issues.
1 parent bf9d477 commit 4c3bf3f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = processArgv => {
107107
cmdArgv = cliArgs(bin.args, { partial: true, argv: processArgv.slice(1) });
108108
}
109109

110-
cmdArgv = Object.assign({}, { key: configStore.get('apiKey') }, cmdArgv);
110+
cmdArgv = { key: configStore.get('apiKey'), ...cmdArgv };
111111

112112
return bin.run(cmdArgv);
113113
} catch (e) {

cmds/swagger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ exports.run = async function(opts) {
151151

152152
// If the user didn't supply a specification, let's try to locate what they've got, and upload
153153
// that. If they don't have any, let's let the user know how they can get one going.
154-
return new Promise(async (resolve, reject) => {
154+
return new Promise((resolve, reject) => {
155155
['swagger.json', 'swagger.yaml', 'openapi.json', 'openapi.yaml'].forEach(file => {
156156
if (!fs.existsSync(file)) {
157157
return;

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"devDependencies": {
4848
"eslint": "^5.16.0",
49-
"eslint-config-airbnb-base": "^13.1.0",
49+
"eslint-config-airbnb-base": "^14.0.0",
5050
"eslint-config-prettier": "^6.0.0",
5151
"eslint-plugin-import": "^2.11.0",
5252
"jest": "^24.7.1",

0 commit comments

Comments
 (0)