Skip to content

Commit a707956

Browse files
authored
tighter regex for bs generated files
1 parent 6a8646f commit a707956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ steps:
5959
filename: "./lib/js/src/Index.bs.js"
6060
action_id: index_bs_js
6161
- type: gate
62-
left: '/Generated by BUCKLESCRIPT/gm'
62+
left: '/^\/\/ Generated by BUCKLESCRIPT VERSION \d+\.\d+\.\d+, PLEASE EDIT WITH CARE$/gm'
6363
operator: test
6464
right: '%actions.index_bs_js%'
6565
- type: respond

0 commit comments

Comments
 (0)