From 7384cec3f6f4e29212c58e7d654e7853d4d173fe Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Wed, 25 Aug 2021 14:15:36 +0000 Subject: [PATCH 1/2] Fix redirect in LICENSE file The file was obtained from: https://www.gnu.org/licenses/gpl-3.0.txt --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 0507f1f..0df6056 100644 --- a/LICENSE +++ b/LICENSE @@ -681,4 +681,4 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. From 98c7934c46ec665bd1e2565cf3cb3f8b6c34e2ef Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:17:56 +0000 Subject: [PATCH 2/2] Remove trailing whitespace --- .github_deploy | 1 - CHANGELOG.md | 6 +++--- snap/snapcraft.yaml | 4 ++-- striptests | 1 - 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github_deploy b/.github_deploy index 3de0ac2..82c8ec5 100755 --- a/.github_deploy +++ b/.github_deploy @@ -26,4 +26,3 @@ do done gh release upload "$tag" "${files[@]}" --clobber || exit 1 done - diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b510ab..f479c95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -222,7 +222,7 @@ - SC2185: Suggest explicitly adding path for `find` - SC2184: Warn about unsetting globs (e.g. `unset foo[1]`) - SC2183: Warn about `printf` with more formatters than variables -- SC2182: Warn about ignored arguments with `printf` +- SC2182: Warn about ignored arguments with `printf` - SC2181: Suggest using command directly instead of `if [ $? -eq 0 ]` - SC1106: Warn when using `test` operators in `(( 1 -eq 2 ))` @@ -393,7 +393,7 @@ ### Added - SC2121: Warn about trying to `set` variables, e.g. `set var = value` - SC2120/SC2119: Warn when a function uses `$1..` if none are ever passed -- SC2117: Warn when using `su` in interactive mode, e.g. `su foo; whoami` +- SC2117: Warn when using `su` in interactive mode, e.g. `su foo; whoami` - SC2116: Detect useless use of echo, e.g. `for i in $(echo $var)` - SC2115/SC2114: Detect some catastrophic `rm -r "$empty/"` mistakes - SC1081: Warn when capitalizing keywords like `While` @@ -444,7 +444,7 @@ ### Removed - Suggestions about using parameter expansion over basename -- The `jsoncheck` binary. Use `shellcheck -f json` instead. +- The `jsoncheck` binary. Use `shellcheck -f json` instead. ## v0.2.0 - 2013-10-27 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2dc4831..e14b854 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,12 +16,12 @@ description: | advanced user's otherwise working script to fail under future circumstances. - By default ShellCheck can only check non-hidden files under /home, to make + By default ShellCheck can only check non-hidden files under /home, to make ShellCheck be able to check files under /media and /run/media you must connect it to the `removable-media` interface manually: # snap connect shellcheck:removable-media - + version: git base: core18 grade: stable diff --git a/striptests b/striptests index 8281f78..c68c16a 100755 --- a/striptests +++ b/striptests @@ -75,4 +75,3 @@ find . -name '.git' -prune -o -type f -name '*.hs' -print | do modify "$file" detestify done -