Lint issues only
This commit is contained in:
@ -71,7 +71,7 @@ function parseOutput(str, callback) {
|
||||
// A tricky one: the channel is the first one having just ONE number. Set only
|
||||
// if the channel is not already set ("Basic Rates" can be a single number also)
|
||||
if (regexChannel.exec(lines[t].trim())) {
|
||||
network.channel = parseInt(lines[t].split(':')[1].trim());
|
||||
network.channel = parseInt(lines[t].split(':')[1].trim(), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user