Skip to content

Commit

Permalink
fix(shell): validation SC2148
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
Саша Черных authored Apr 28, 2018
1 parent 5e164be commit a60a04a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/header/ShellScript.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
# @Author: {{author}}
# @Date: {{create_time}}
# @Last Modified by: {{last_modified_by}}
Expand Down

0 comments on commit a60a04a

Please sign in to comment.