aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2022-02-17 02:07:49 +0530
committerAyush Agarwal <ayush@fastmail.in>2022-02-17 02:07:49 +0530
commitb4d33f25e5c7542a3a307f5f8d5e550e702d54fa (patch)
tree827e303413555e88dc19f1d964c987e34c618626
parentdb2f631665a3c7d4b64f87f556e59ccafcae445b (diff)
chore: add -s option to shfmt
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--CONTRIBUTING.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1e89a01..c7bfb54 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,4 +21,4 @@ jobs:
- name: checkout tessen for shfmt
uses: actions/checkout@v2
- name: run shfmt
- run: shfmt -d -i 2 -bn -ci -sr tessen
+ run: shfmt -d -s -i 2 -bn -ci -sr tessen
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f2af1cc..a3f7ea4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,7 +9,7 @@ please ensure that
- your bash code has been formatted using [shfmt](https://github.com/mvdan/sh) with the following
settings
- `-i 2 -ci -sr -bn`
+ `-s -i 2 -ci -sr -bn`
Please raise an [issue](https://github.com/ayushnix/tessen/issues/new/choose) if you have any
questions.