Skip to content

Commit

Permalink
chore: Bump bats from 1.8.0 to 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
helpermethod committed Apr 8, 2024
1 parent 9859a7c commit e58654b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Run static analysis
uses: reviewdog/[email protected]
- name: Set up bats
run: npm install -g bats@1.8.0
run: npm install -g bats@1.11.0
- name: Run tests
run: bats --report-formatter junit . completion/bash
- name: Create test report
Expand Down
6 changes: 3 additions & 3 deletions up
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

up() {
(($# == 0)) && cd ..
[[ $1 == / ]] && cd /
(($# == 0)) && cd .. && return
[[ $1 == / ]] && cd / && return

# shellcheck disable=SC2164
cd "${PWD%/"${PWD##*/"$1"/}"}"
cd "${PWD%"${PWD##*/"$1"}"}"
}

0 comments on commit e58654b

Please sign in to comment.