Skip to content

Commit 4b073c2

Browse files
committed
fix(agoric-cli): correct missing installation of ui subdirectory
1 parent 90ef974 commit 4b073c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/agoric-cli/lib/install.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default async function installMain(progname, rawArgs, powers, opts) {
1717

1818
const rimraf = file => pspawn('rm', ['-rf', file]);
1919
const existingSubdirs = await Promise.all(
20-
['.', '_agstate/agoric-servers', 'contract', 'api']
20+
['.', '_agstate/agoric-servers', 'contract', 'api', 'ui']
2121
.sort()
2222
.map(async subd => {
2323
const exists = await fs.stat(`${subd}/package.json`).catch(_ => false);
@@ -57,8 +57,8 @@ export default async function installMain(progname, rawArgs, powers, opts) {
5757
packages.set(pkg, pj.name);
5858
versions.set(pj.name, pj.version);
5959

60-
// eslint-disable-next-line no-constant-condition
61-
if (false) {
60+
const SUBOPTIMAL = false;
61+
if (SUBOPTIMAL) {
6262
// This use of yarn is noisy and slow.
6363
return pspawn('yarn', [...linkFlags, 'link'], {
6464
stdio: 'inherit',

0 commit comments

Comments
 (0)