fix mistake made when replacing indexOf

This commit is contained in:
2023-01-14 10:48:36 -06:00
committed by GitHub
parent 0275381255
commit bbc2ae7159
+1 -1
View File
@@ -11,7 +11,7 @@ exports.config = {
devicePort: 10023,
listenPort: 0,
validateResponse(msg, info) {
return msg.toString().includes('/xinfo') === 0;
return msg.toString().includes('/xinfo');
},
},
};