Skip to content

Commit

Permalink
chore(cli): cleanup
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
anshumanv committed Apr 20, 2019
1 parent fe9c289 commit ed4095f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/utils/convert-argv.js
Expand Up @@ -7,7 +7,6 @@ const webpackConfigurationSchema = require("../config/webpackConfigurationSchema
const validateSchema = require("webpack").validateSchema;
const WebpackOptionsValidationError = require("webpack").WebpackOptionsValidationError;
const findup = require("findup-sync");
// const { webpackConfigPath } = require("@webpack-cli/utils/path-utils");

module.exports = function(...args) {
const argv = args[1] || args[0];
Expand Down Expand Up @@ -73,7 +72,6 @@ module.exports = function(...args) {
const defaultConfigFileNames = ["webpack.config", "webpackfile"].join("|");
const webpackConfigFileRegExp = `(${defaultConfigFileNames})(${extensions.join("|")})`;
const pathToWebpackConfig = findup(webpackConfigFileRegExp);
// const pathToWebpackConfig = webpackConfigPath(extensions);

if (pathToWebpackConfig) {
const resolvedPath = path.resolve(pathToWebpackConfig);
Expand Down

0 comments on commit ed4095f

Please sign in to comment.