From bb73b4d2b084c60d1f6740f52e3358e29c341172 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Mon, 30 Aug 2021 08:57:56 -0300 Subject: [PATCH] submodules should be updated if OFFLINE=1 is not set (#587) --- script/post-install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/post-install.ts b/script/post-install.ts index 31b224a06c9..f82729484c9 100644 --- a/script/post-install.ts +++ b/script/post-install.ts @@ -53,7 +53,7 @@ findYarnVersion(path => { process.exit(result.status || 1) } - if (isOffline()) { + if (!isOffline()) { result = spawnSync( 'git', ['submodule', 'update', '--recursive', '--init'],