chore(cli): remove superfluous bracket that was causing all the things

This commit is contained in:
blam
2020-10-13 03:02:58 +02:00
parent f9035f7644
commit b7d15b4f1a
+3 -1
View File
@@ -266,9 +266,11 @@ async function createPlugin(
await waitForExit(child);
const canonicalName = options.includes('--backend')
? `${pluginName}-backend}`
? `${pluginName}-backend`
: pluginName;
const pluginDir = resolvePath(appDir, 'plugins', canonicalName);
for (const cmd of [['tsc'], ['lint'], ['test', '--no-watch']]) {
print(`Running 'yarn ${cmd.join(' ')}' in newly created plugin`);
await runPlain(['yarn', ...cmd], { cwd: pluginDir });