Skip to content

Commit

Permalink
submodules should be updated if OFFLINE=1 is not set (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Feb 22, 2022
1 parent aabcaa3 commit bb73b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/post-install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ findYarnVersion(path => {
process.exit(result.status || 1)
}

if (isOffline()) {
if (!isOffline()) {
result = spawnSync(
'git',
['submodule', 'update', '--recursive', '--init'],
Expand Down

0 comments on commit bb73b4d

Please sign in to comment.