replace calls to String.prototype.contains with String.prototype.includes

This commit is contained in:
adisib
2016-08-13 23:18:13 -04:00
committed by roytam1
parent aae2e193a7
commit 3a303e67f6
105 changed files with 1766 additions and 4313 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ function checkWarning(pref, buffer) {
observe: function(event) {
let message = event.message;
if (!(message.startsWith("Warning: attempting to write")
&& message.contains(pref))) {
&& message.includes(pref))) {
return;
}
if (complete) {