Skip to content

Commit

Permalink
Add yq binaries too
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarraz committed Sep 13, 2024
1 parent 8c48a78 commit 36d4fe1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added lib/vendor/yq-darwin-arm
Binary file not shown.
Binary file added lib/vendor/yq-linux-arm
Binary file not shown.
4 changes: 2 additions & 2 deletions lib/yarn-2.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

YQ="$BP_DIR/lib/vendor/yq-$(get_os)"
YQ="$BP_DIR/lib/vendor/yq-$(get_platform)"

detect_yarn_2() {
local uses_yarn="$1"
Expand Down Expand Up @@ -54,7 +54,7 @@ use_yarn_app_cache() {
node_modules_enabled() {
local build_dir="$1"
local node_linker

node_linker=$($YQ r "$build_dir/.yarnrc.yml" nodeLinker 2>&1)

[[ "$node_linker" == "node-modules" ]]
Expand Down

0 comments on commit 36d4fe1

Please sign in to comment.