Merge pull request #160 from spotify/rugvip/yi

cli/createPlugin: use yarn install instead of yarn
This commit is contained in:
Stefan Ålund
2020-03-05 13:48:40 +01:00
committed by GitHub
@@ -232,7 +232,7 @@ const buildPlugin = async (pluginFolder: string) => {
const prom_exec = promisify(exec);
const commands = ['yarn', 'yarn build'];
const commands = ['yarn install', 'yarn build'];
for (const command of commands) {
process.stdout.write(chalk.green(` executing\t${chalk.cyan(command)}`));
try {