Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit a5daf51

Browse files
authored
fix(workspace): don't log workspace detection errors from stderr (#568)
1 parent cb132de commit a5daf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-build-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ run_yarn() {
112112
local workspace_exit_code
113113
# YARN_IGNORE_PATH will ignore the presence of a local yarn executable (i.e. yarn 2) and default
114114
# to using the global one (which, for now, is always yarn 1.x). See https://yarnpkg.com/configuration/yarnrc#ignorePath
115-
workspace_output="$(YARN_IGNORE_PATH=1 yarn workspaces --json info )"
115+
workspace_output="$(YARN_IGNORE_PATH=1 yarn workspaces --json info 2>/dev/null)"
116116
workspace_exit_code=$?
117117
if [ $workspace_exit_code -eq 0 ]
118118
then

0 commit comments

Comments
 (0)