Commit 8058d38
committed
Fix CRLF handling in Gemfile source block idempotency guard
Change the regex pattern to accept both Unix (LF) and Windows (CRLF) line
endings by using \r?\n instead of \n. This prevents the idempotency guard
from failing on CRLF files, which would cause nested source blocks on re-run.1 parent 10c0079 commit 8058d38
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1786 | 1786 | | |
1787 | 1787 | | |
1788 | 1788 | | |
1789 | | - | |
| 1789 | + | |
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
| |||
0 commit comments