Skip to content

Commit ac28c34

Browse files
committed
replace \r\n -> \n compare licenceStr comparison
1 parent e5b4abf commit ac28c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/test_syntax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function assertSrcContents() {
145145
return;
146146
}
147147

148-
if(header.value !== licenseStr) {
148+
if(header.value.replace(/\r\n/g, '\n') !== licenseStr) {
149149
logs.push(file + ' : has incorrect header information.');
150150
}
151151
});

0 commit comments

Comments
 (0)