Skip to content

Commit 1b4252c

Browse files
committed
Normalize generated protocol line endings
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d6318e80-5da9-4858-a147-817e8692f10e
1 parent 98f2182 commit 1b4252c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/reporter/scripts/generateBootstrapProtocol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function checkGeneratedFile() {
5757
const expected = renderGeneratedFile();
5858
let actual;
5959
try {
60-
actual = fs.readFileSync(TARGET_PATH, 'utf8');
60+
actual = fs.readFileSync(TARGET_PATH, 'utf8').replace(/\r\n/g, '\n');
6161
} catch (error) {
6262
if (error && error.code === 'ENOENT') {
6363
throw new Error(

0 commit comments

Comments
 (0)