Skip to content

Commit 9494075

Browse files
committed
Ignore jshint warning about unexpected conditional expression
This is the best way to iterate indefinitely in this case.
1 parent 787a7d9 commit 9494075

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stacktrace-gps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
var sourceMappingUrlRegExp = /\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg;
130130
var lastSourceMappingUrl;
131131
var matchSourceMappingUrl;
132-
while (matchSourceMappingUrl = sourceMappingUrlRegExp.exec(source)) {
132+
while (matchSourceMappingUrl = sourceMappingUrlRegExp.exec(source)) { // jshint ignore:line
133133
lastSourceMappingUrl = matchSourceMappingUrl[1];
134134
}
135135
if (lastSourceMappingUrl) {

0 commit comments

Comments
 (0)