Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed May 30, 2019
1 parent eb3909b commit c7c1a83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Expand Up @@ -9,4 +9,5 @@ test/**/null.js
test/**/main.js
test/**/cliEntry.js
test/**/foo.js
test/binCases/config-location/webpack-babel-config/bin/es6.js
test/binCases/config-location/webpack-babel-config/bin/es6.js
packages/utils/validate-identifier.ts
2 changes: 1 addition & 1 deletion packages/init/init.ts
Expand Up @@ -81,7 +81,7 @@ export default function runTransform(webpackProperties: WebpackProperties, actio
}
);

let successMessage: string = `Congratulations! Your new webpack configuration file has been created!`;
let successMessage = `Congratulations! Your new webpack configuration file has been created!`;
if (initActionNotDefined && webpackProperties.config.item) {
successMessage = `Congratulations! ${webpackProperties.config.item} has been ${action}ed!`;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package-manager.ts
Expand Up @@ -102,7 +102,7 @@ export function spawnChild(pkg: string): SpawnSyncReturns<Buffer> {
const rootPath: string = getPathToGlobalPackages();
const pkgPath: string = path.resolve(rootPath, pkg);
const packageManager: string = getPackageManager();
const isNew: boolean = !fs.existsSync(pkgPath);
const isNew = !fs.existsSync(pkgPath);

return SPAWN_FUNCTIONS[packageManager](pkg, isNew);
}

0 comments on commit c7c1a83

Please sign in to comment.