- Notifications
You must be signed in to change notification settings - Fork926
Commitb16275b
authored
chore: fix regex bug in migration number fixer (#16822)
This fixes a slight regex bug on Bash 5, where `[:/]` would only match`:` but not both `:/`.```bash$ git remote -v | grep "github.com[:/]coder/coder.*(fetch)" | cut -f1$ git remote -v | grep "github.com[:/]*coder/coder.*(fetch)" | cut -f1origin```The former will actually cause the whole script to bork because of`pipefail`, since `grep` exits 1.Signed-off-by: Danny Kopping <dannykopping@gmail.com>1 parent0c27f04 commitb16275b
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
0 commit comments
Comments
(0)