Skip to content

Commit

Permalink
Fix shellcheck github action
Browse files Browse the repository at this point in the history
  • Loading branch information
noctuid committed Feb 1, 2020
1 parent b4ddb12 commit ffaf358
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
shellcheck:
- runs-on: ubuntu-latest
- name: shellcheck
uses: ludeeus/[email protected]
runs-on: ubuntu-latest
steps:
- name: shellcheck
uses: ludeeus/[email protected]
2 changes: 1 addition & 1 deletion tdrop
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ done
shift "$((OPTIND-1))"
program=$1

if [[ -z $program_flags ]]; then
if [[ ${#program_flags[@]} -eq 0 ]]; then
program_flags=("${@:2}")
fi

Expand Down

0 comments on commit ffaf358

Please sign in to comment.