Skip to content

Commit

Permalink
upgrade all deps
Browse files Browse the repository at this point in the history
  • Loading branch information
retrohacker committed Aug 2, 2019
1 parent 87e7dce commit 1680f9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function getOs (cb) {
// Linux is a special case.
if (osName === 'linux') return getLinuxDistro(cb)
// Else, node's builtin is acceptable.
return cb(null, { 'os': osName })
return cb(null, { os: osName })
}

/**
Expand Down Expand Up @@ -48,7 +48,7 @@ function getLinuxDistro (cb) {
* files and match them to a potential distribution
*/
var candidates = distros[file]
var os = { 'os': 'linux', 'dist': candidates[0] }
var os = { os: 'linux', dist: candidates[0] }

fs.readFile(file, 'utf-8', function (e, file) {
if (e) return cb(e)
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
},
"homepage": "https://github.com/retrohacker/getos",
"devDependencies": {
"cli-color": "1.4.0",
"execSync": "1.0.2",
"standard": "^12.0.1",
"tape": "4.9.1"
"cli-color": "^1.4.0",
"execSync": "^1.0.2",
"standard": "^13.1.0",
"tape": "^4.11.0"
},
"dependencies": {
"async": "2.6.1"
"async": "^3.1.0"
},
"contributors": [
{
Expand Down

0 comments on commit 1680f9d

Please sign in to comment.