Skip to content

Commit

Permalink
fix(presets): make script safer and strict checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Feb 27, 2024
1 parent b990079 commit 620b699
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion presets/conventional-commits.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

# RegExp as variable
regexp_commit_primary="^([a-z]+)(\(([^\)]+)\))?:\ (.+)$"
Expand Down
2 changes: 1 addition & 1 deletion presets/library.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

# RegExp as variable
regexp_commit_primary="^([a-z]+)(\(([^\)]+)\))?:\ (.+)$"
Expand Down
2 changes: 1 addition & 1 deletion presets/workspace.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

# RegExp as variable
regexp_commit_primary="^([a-z]+)(\(([^\)]+)\))?:\ (.+)$"
Expand Down

0 comments on commit 620b699

Please sign in to comment.