Skip to content

Commit

Permalink
Bugfix style action if configuration not set
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 18, 2021
1 parent bf3353a commit d8c56f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/style/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ runs:
id: check
run: |
set -x
scope=$(grep Config/autostyle/scope DESCRIPTION | cut -d " " -f 2)
strict=$(grep Config/autostyle/strict DESCRIPTION | cut -d " " -f 2)
scope=$( ( grep Config/autostyle/scope DESCRIPTION || true ) | cut -d " " -f 2)
strict=$( ( grep Config/autostyle/strict DESCRIPTION || true ) | cut -d " " -f 2)
echo ::set-output name=scope::$scope
echo ::set-output name=strict::$strict
shell: bash
Expand Down

0 comments on commit d8c56f9

Please sign in to comment.