Skip to content

Commit

Permalink
Fix a typo in documentation of bash-exec. (#1892)
Browse files Browse the repository at this point in the history
The corresponding documentation in the auto-generated
docs/descriptors/bash_bash_exec.md was updated by mistake in
3d5e615, so it was immediately
overwritten. Update the source files
megalinter/descriptors/bash.megalinter-descriptor.yml and
megalinter/descriptors/schemas/megalinter-descriptor.jsonschema.json
instead this time.
  • Loading branch information
Kurt-von-Laven authored Sep 21, 2022
1 parent 78a5160 commit 75d3703
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image

- Fix a typo in documentation of bash-exec linter ([#1892](https://github.com/oxsecurity/megalinter/pull/1892))
- Add quotes to arm-ttk linter command ([#1879](https://github.com/oxsecurity/megalinter/issues/1879))

- Linter versions upgrades
Expand Down
2 changes: 1 addition & 1 deletion megalinter/descriptors/bash.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ linters:
&& chmod +x /usr/bin/bash-exec
variables:
- name: ERROR_ON_MISSING_EXEC_BIT
description: If set to `false`, the `bash-exec` linter will report a warning if a shell script is not executable. If set to `true`, the `bash-exec` linter will report an arror instead
description: If set to `false`, the `bash-exec` linter will report a warning if a shell script is not executable. If set to `true`, the `bash-exec` linter will report an error instead
default_value: "false"
# Shellcheck
- class: ShellcheckLinter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@
"examples": [
{
"default_value": "false",
"description": "If set to `false`, the `bash-exec` linter will report a warning if a shell script is not executable. If set to `true`, the `bash-exec` linter will report an arror instead",
"description": "If set to `false`, the `bash-exec` linter will report a warning if a shell script is not executable. If set to `true`, the `bash-exec` linter will report an error instead",
"name": "ERROR_ON_MISSING_EXEC_BIT"
}
],
Expand Down

0 comments on commit 75d3703

Please sign in to comment.