diff options
author | Michael Ennen <mike.ennen@gmail.com> | 2016-05-11 15:09:39 -0700 |
---|---|---|
committer | Michael Ennen <mike.ennen@gmail.com> | 2016-05-11 21:06:26 -0700 |
commit | 954f983bc1516ba47d8961538e1ddba09d764794 (patch) | |
tree | d7f08198289491d96d43ed15e769dea6192ef038 /test/functional/eval/json_functions_spec.lua | |
parent | a5a1768918286ef3ac4181b45b8b7eafb37767ac (diff) | |
download | rneovim-954f983bc1516ba47d8961538e1ddba09d764794.tar.gz rneovim-954f983bc1516ba47d8961538e1ddba09d764794.tar.bz2 rneovim-954f983bc1516ba47d8961538e1ddba09d764794.zip |
Run shellcheck (shell scripting linter) on shell scripts.
There are a total of 5 shell scripts in the Neovim source tree.
All but runtime\macros\less.sh had warnings/errors when run through
Shellcheck (http://www.shellcheck.net/).
This commit fixes all warnings/errors and also changes the shebang to
"#!/bin/sh" when possible (this was not possible for vim-patch.sh
because it uses many bashisms).
The shellcheck errors that were fixed are:
SC2068: Double quote array expansions to avoid re-splitting elements.
SC2086: Double quote to prevent globbing and word splitting.
SC2124: Assigning an array to a string! Assign as array, or use *
instead of @ to concatenate
SC2155: Declare and assign separately to avoid masking return values.
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions