Skip to content

Commit

Permalink
chore(format): fix formatting using prettier
Browse files Browse the repository at this point in the history
fix formatting using prettier
  • Loading branch information
anshumanv committed Jun 5, 2019
1 parent 1b49075 commit 0b6437e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/serve/index.ts
Expand Up @@ -24,11 +24,11 @@ import { List } from "@webpack-cli/webpack-scaffold";
*/

interface ConfigType {
installCmd: string,
dependency: string,
devDependency: string,
optionalDependency: string
};
installCmd: string;
dependency: string;
devDependency: string;
optionalDependency: string;
}

const npmConfig: ConfigType = {
installCmd: "install",
Expand All @@ -47,7 +47,7 @@ const yarnConfig: ConfigType = {
const spawnWithArg = (pm: string, cmd: string): SpawnSyncReturns<Buffer> => {
const pmConfig: ConfigType = pm === "npm" ? npmConfig : yarnConfig;
const options: string[] = [pmConfig.installCmd, "webpack-dev-server", pmConfig[cmd]];
return spawn.sync(pm, options, {stdio: "inherit"});
return spawn.sync(pm, options, { stdio: "inherit" });
};

/**
Expand Down

0 comments on commit 0b6437e

Please sign in to comment.