Skip to content

Commit

Permalink
chore: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Nov 4, 2018
1 parent 9f47851 commit 4cc8760
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/generators/add-generator.ts
Expand Up @@ -19,6 +19,7 @@ import {
import { ISchemaProperties, IWebpackOptions } from "./types";
import entryQuestions from "./utils/entry";

// tslint:disable:no-var-requires
const webpackDevServerSchema = require("webpack-dev-server/lib/options.json");
const webpackSchema = require("./utils/optionsSchema.json");
const PROPS: string[] = Array.from(PROP_TYPES.keys());
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/modify-config-helper.ts
Expand Up @@ -122,8 +122,8 @@ export default function modifyHelperUtil(
configModule,
);
return runTransform(transformConfig, action);
}).catch(err => {
console.error(chalk.red('\nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n'));
}).catch((err) => {
console.error(chalk.red("\nUnexpected Error, please file an issue to https://github.com/webpack/webpack-cli\n"));
console.error(err);
});
}

0 comments on commit 4cc8760

Please sign in to comment.