Skip to content

Commit

Permalink
Fix yarn args in specs
Browse files Browse the repository at this point in the history
Merge in ADGUARD-FILTERS/aglint from fix-yarn-args to master

Squashed commit of the following:

commit b9f3763
Author: scripthunter7 <[email protected]>
Date:   Tue Jan 9 16:12:42 2024 +0100

    Fix yarn args in specs
  • Loading branch information
scripthunter7 committed Jan 9, 2024
1 parent 0439668 commit ba7c0ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bamboo-specs/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Build:
ls -laht
# Exclude '--ignore-platform' from yarn arguments to fix build
# Exclude '--ignore-optional' from yarn arguments
# This is needed for installing swc core optional dependencies properly
originalYarnArgs="$bamboo_varsYarn"
modifiedYarnArgs=$(echo "$originalYarnArgs" | sed 's/--ignore-platform//g')
modifiedYarnArgs=$(echo "$originalYarnArgs" | sed 's/--ignore-optional//g')
# Install dependencies
yarn install ${modifiedYarnArgs}
Expand Down
4 changes: 2 additions & 2 deletions bamboo-specs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Build:
ls -laht
# Exclude '--ignore-platform' from yarn arguments to fix build
# Exclude '--ignore-optional' from yarn arguments
# This is needed for installing swc core optional dependencies properly
originalYarnArgs="$bamboo_varsYarn"
modifiedYarnArgs=$(echo "$originalYarnArgs" | sed 's/--ignore-platform//g')
modifiedYarnArgs=$(echo "$originalYarnArgs" | sed 's/--ignore-optional//g')
# Install dependencies
yarn install ${modifiedYarnArgs}
Expand Down

0 comments on commit ba7c0ad

Please sign in to comment.