We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee626a1 commit b0992f8Copy full SHA for b0992f8
src/utils.js
@@ -102,7 +102,7 @@ const validateDeviceId = function validateDeviceId(deviceId) {
102
if (!validateInput(deviceId, 'deviceId', 'string')) {
103
return false;
104
}
105
- if (deviceId.includes('.')) {
+ if (deviceId.indexOf('.') >= 0) {
106
log.error(`Device IDs may not contain '.' characters. Value will be ignored: "${deviceId}"`);
107
108
0 commit comments