Skip to content

Commit

Permalink
fix: resolve shellcheck warnings (#684)
Browse files Browse the repository at this point in the history
Issue #, if available: #550

*Description of changes:* Resolves Shellcheck warnings (Some style
issues still remain). Requires Shellcheck to pass as part of the CI
process

*Testing done:* Shellcheck ran locally



- [x] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

---------

Signed-off-by: River Phillips <[email protected]>
  • Loading branch information
RiverPhillips authored Nov 7, 2023
1 parent 98c8ee4 commit d9f695a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ jobs:
uses: ludeeus/[email protected]
with:
version: v0.9.0
continue-on-error: true
severity: warning
continue-on-error: false
go-mod-tidy-check:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion installer-builder/darwin/Resources/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo pkill '^socket_vmnet'
sudo pkill '^qemu-system-'
sudo pkill '^limactl'

if [ "$$(readlink "/usr/local/bin/finch")" = "/Applications/Finch/bin/finch" ]; then sudo rm /usr/local/bin/finch; fi
if [ "$(readlink '/usr/local/bin/finch')" = "/Applications/Finch/bin/finch" ]; then sudo rm /usr/local/bin/finch; fi

echo "[1/3] [DONE] Successfully deleted shortcut links"

Expand Down
2 changes: 1 addition & 1 deletion installer-builder/tools/extract-executables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ updateQEMUEntitlement() {

#$1: the file object
extractExecutables() {
for file in $(ls -a "$1")
for file in "$1"/{*,.*}
do
if [ -d "$1/$file" ];
then
Expand Down
2 changes: 1 addition & 1 deletion installer-builder/tools/merge-back-signed-executables.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

mergeBackSignedExecutables() {
for file in $(ls -a ./installer-builder/output/executables/signed/Payload/EXECUTABLES_TO_SIGN)
for file in ./installer-builder/output/executables/signed/Payload/EXECUTABLES_TO_SIGN/{*,.*}
do
if [[ $file != '.' && $file != '..' ]]
then
Expand Down

0 comments on commit d9f695a

Please sign in to comment.