diff --git a/src/device.coffee b/src/device.coffee index 2851b566..0d1c18f5 100644 --- a/src/device.coffee +++ b/src/device.coffee @@ -181,10 +181,10 @@ exports.updateState = do -> exports.getOSVersion = -> fs.readFileAsync(config.hostOsVersionPath) .then (releaseData) -> - lines = _.split(releaseData, "\n") + lines = releaseData.split("\n") releaseItems = {} for line in lines - [ key, val ] = _.split(line, '=') + [ key, val ] = line.split('=') releaseItems[_.trim(key)] = _.trim(val) return releaseItems['PRETTY_NAME'] .catch (err) ->