Skip to content

Commit a60a04a

Browse files
author
Саша Черных
authored
fix(shell): validation SC2148
### 1. Summary I add `#!/bin/bash` in beginning of Shell template. ### 2. Argumentation Shebang must be in shell scripts. Please, read [**ShellCheck SC2148**](https://github.com/koalaman/shellcheck/wiki/SC2148). ### 3. Behavior before pull request ```bash # @author: SashaChernykh # @Date: 2018-04-28 08:58:09 # @last Modified by: SashaChernykh # @last Modified time: 2018-04-28 08:58:09 ``` ### 4. Behavior after pull request ```bash #!/bin/bash # @author: SashaChernykh # @Date: 2018-04-28 08:58:09 # @last Modified by: SashaChernykh # @last Modified time: 2018-04-28 08:58:09 ``` ### 5. Testing environment + Sublime Text Build 3143 + FileHeader 2.0.5 Thanks.
1 parent 5e164be commit a60a04a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

template/header/ShellScript.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12
# @Author: {{author}}
23
# @Date: {{create_time}}
34
# @Last Modified by: {{last_modified_by}}

0 commit comments

Comments
 (0)