Fix remaining lint errors (#19166)

This commit is contained in:
Andy
2017-08-20 15:37:53 -07:00
committed by GitHub
parent 83230ae14e
commit 924fafffc0
861 changed files with 2641 additions and 2198 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for swagger-node-runner 0.5
// Project: https://www.npmjs.com/package/swagger-node-runner
// Definitions by: Michael Mrowetz <https://github.com/micmro/>
// Definitions by: Michael Mrowetz <https://github.com/micmro>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@@ -63,7 +63,10 @@ SwaggerNodeRunner.create(config, (err, runner) => {
const pluginAttributes = hapiMiddleware.plugin.register.attributes.name + hapiMiddleware.plugin.register.attributes.version;
hapiapp.register(hapiMiddleware.plugin, err => {
if (err) { return console.error("Failed to load plugin:", err); }
if (err) {
console.error("Failed to load plugin:", err);
return;
}
// stat app etc..
});
});