Skip to content

Commit

Permalink
[DEVOPS-607] Fix prettier version check
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 12, 2024
1 parent 60a2fd4 commit e9194fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/simple-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
id: prettier-version
run: |
VERSION=$(yarn info prettier version --json | jq -r '.children.Version')
if [ -z "$VERSION" ]; then
if [[ "$VERSION" == "null" ]]; then
echo "prettier-version=latest" >> $GITHUB_ENV
else
echo "prettier-version=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit e9194fc

Please sign in to comment.