fix --comments (close #16)
This commit is contained in:
parent
a5e75c5a21
commit
4fe4257c69
|
|
@ -127,7 +127,7 @@ if (ARGS.comments) {
|
||||||
var type = comment.type;
|
var type = comment.type;
|
||||||
if (type == "comment2") {
|
if (type == "comment2") {
|
||||||
// multiline comment
|
// multiline comment
|
||||||
return /@preserve|@license|@cc_on/i.test(test);
|
return /@preserve|@license|@cc_on/i.test(text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user