Skip to content

Commit

Permalink
fix: replace deprecated --cache-min option (#6165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Hatvan committed Aug 20, 2021
1 parent 331406a commit c02ccbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-pandas-sneeze.md
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: replace deprecated `--cache-min` option and use `--prefer-offline`
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/util/yarn.ts
Expand Up @@ -100,7 +100,7 @@ function installDependencies(appDir: string, options: RebuildOptions): Promise<a
}

if (!isRunningYarn(execPath)) {
execArgs.push("--cache-min", "999999999")
execArgs.push("--prefer-offline")
}

if (execPath == null) {
Expand Down

0 comments on commit c02ccbb

Please sign in to comment.