-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
771 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,34 @@ | ||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:53:10: warning[SC2154]: MAIN_HEADING is referenced but not assigned. | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:14: warning[SC2154]: WHITE is referenced but not assigned. | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:56: warning[SC2154]: NOCOLOR is referenced but not assigned. | ||
{ | ||
"defects": [ | ||
{ | ||
"checker": "SHELLCHECK_WARNING", | ||
"language": "shell", | ||
"tool": "shellcheck", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "innocent-script.sh", | ||
"line": 7, | ||
"event": "warning[SC2034]", | ||
"message": "UNUSED_VAR2 appears unused. Verify use (or export if used externally).", | ||
"verbosity_level": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "SHELLCHECK_WARNING", | ||
"language": "shell", | ||
"tool": "shellcheck", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "innocent-script.sh", | ||
"line": 11, | ||
"event": "warning[SC2115]", | ||
"message": "Use \"${var:?}\" to ensure this never expands to / .", | ||
"verbosity_level": 0 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:7:3: note[SC1091]: Not following: functions.sh: openBinaryFile: does not exist (No such file or directory) | ||
innocent-script.sh:6: warning[SC2034]: UNUSED_VAR appears unused. Verify use (or export if used externally). | ||
# 5| DIR_SUFFIX="*" | ||
# 6|-> UNUSED_VAR="" | ||
# 7| UNUSED_VAR2="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:53:10: warning[SC2154]: MAIN_HEADING is referenced but not assigned. | ||
innocent-script.sh:7: warning[SC2034]: UNUSED_VAR2 appears unused. Verify use (or export if used externally). | ||
# 4| | ||
# 5| DIR_SUFFIX="*" | ||
# 6| UNUSED_VAR="" | ||
# 7|-> UNUSED_VAR2="" | ||
# 8| | ||
# 9| echo "I'm going to remove directory $1/$DIR_SUFFIX" | ||
# 10| | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:14: warning[SC2154]: WHITE is referenced but not assigned. | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:56: warning[SC2154]: NOCOLOR is referenced but not assigned. | ||
innocent-script.sh:11: warning[SC2115]: Use "${var:?}" to ensure this never expands to / . | ||
# 8| | ||
# 9| echo "I'm going to remove directory $1/$DIR_SUFFIX" | ||
# 10| | ||
# 11|-> rm -rf $1/$2/$DIR_SUFFIX | ||
# 12| | ||
# 13| #! FIXME - Call rm -rf $1/$DIR_SUFFIX | ||
# 14| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
src/index.sh:7:3: note: Not following: functions.sh: openBinaryFile: does not exist (No such file or directory) [SC1091] | ||
src/index.sh:39:42: warning: BASE is referenced but not assigned. [SC2154] | ||
src/index.sh:39:53: warning: HEAD is referenced but not assigned. [SC2154] | ||
src/index.sh:50:10: warning: VERSIONS_HEADING is referenced but not assigned. [SC2154] | ||
{ | ||
"comments": [ | ||
{ | ||
"file": "innocent-script.sh", | ||
"line": 6, | ||
"endLine": 6, | ||
"column": 1, | ||
"endColumn": 11, | ||
"level": "warning", | ||
"code": 2034, | ||
"message": "UNUSED_VAR appears unused. Verify use (or export if used externally).", | ||
"fix": null | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,34 @@ | ||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:53:10: warning[SC2154]: MAIN_HEADING is referenced but not assigned. | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:14: warning[SC2154]: WHITE is referenced but not assigned. | ||
|
||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:56:56: warning[SC2154]: NOCOLOR is referenced but not assigned. | ||
{ | ||
"defects": [ | ||
{ | ||
"checker": "SHELLCHECK_WARNING", | ||
"language": "shell", | ||
"tool": "shellcheck", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "innocent-script.sh", | ||
"line": 7, | ||
"event": "warning[SC2034]", | ||
"message": "UNUSED_VAR2 appears unused. Verify use (or export if used externally).", | ||
"verbosity_level": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "SHELLCHECK_WARNING", | ||
"language": "shell", | ||
"tool": "shellcheck", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "innocent-script.sh", | ||
"line": 11, | ||
"event": "warning[SC2115]", | ||
"message": "Use \"${var:?}\" to ensure this never expands to / .", | ||
"verbosity_level": 0 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
src/index.sh:39:42: warning: BASE is referenced but not assigned. [SC2154] | ||
src/index.sh:39:53: warning: HEAD is referenced but not assigned. [SC2154] | ||
src/index.sh:50:10: warning: VERSIONS_HEADING is referenced but not assigned. [SC2154] | ||
src/index.sh:53:10: warning: MAIN_HEADING is referenced but not assigned. [SC2154] | ||
src/index.sh:56:14: warning: WHITE is referenced but not assigned. [SC2154] | ||
src/index.sh:56:56: warning: NOCOLOR is referenced but not assigned. [SC2154] | ||
{ | ||
"comments": [ | ||
{ | ||
"file": "innocent-script.sh", | ||
"line": 7, | ||
"endLine": 7, | ||
"column": 1, | ||
"endColumn": 12, | ||
"level": "warning", | ||
"code": 2034, | ||
"message": "UNUSED_VAR2 appears unused. Verify use (or export if used externally).", | ||
"fix": null | ||
}, | ||
{ | ||
"file": "innocent-script.sh", | ||
"line": 11, | ||
"endLine": 11, | ||
"column": 8, | ||
"endColumn": 25, | ||
"level": "warning", | ||
"code": 2115, | ||
"message": "Use \"${var:?}\" to ensure this never expands to / .", | ||
"fix": null | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
src/index.sh:7:3: note: Not following: functions.sh: openBinaryFile: does not exist (No such file or directory) [SC1091] | ||
src/index.sh:39:42: warning: BASE is referenced but not assigned. [SC2154] | ||
src/index.sh:39:53: warning: HEAD is referenced but not assigned. [SC2154] | ||
src/index.sh:50:10: warning: VERSIONS_HEADING is referenced but not assigned. [SC2154] | ||
src/index.sh:53:10: warning: MAIN_HEADING is referenced but not assigned. [SC2154] | ||
src/index.sh:56:14: warning: WHITE is referenced but not assigned. [SC2154] | ||
src/index.sh:56:56: warning: NOCOLOR is referenced but not assigned. [SC2154] | ||
{ | ||
"comments": [ | ||
{ | ||
"file": "innocent-script.sh", | ||
"line": 6, | ||
"endLine": 6, | ||
"column": 1, | ||
"endColumn": 11, | ||
"level": "warning", | ||
"code": 2034, | ||
"message": "UNUSED_VAR appears unused. Verify use (or export if used externally).", | ||
"fix": null | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
Error: SHELLCHECK_WARNING: | ||
src/index.sh:7:3: note[SC1091]: Not following: functions.sh: openBinaryFile: does not exist (No such file or directory) | ||
{ | ||
"defects": [ | ||
{ | ||
"checker": "SHELLCHECK_WARNING", | ||
"language": "shell", | ||
"tool": "shellcheck", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "innocent-script.sh", | ||
"line": 6, | ||
"event": "warning[SC2034]", | ||
"message": "UNUSED_VAR appears unused. Verify use (or export if used externally).", | ||
"verbosity_level": 0 | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.