File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = function getOs (cb) {
2020 // Linux is a special case.
2121 if ( osName === 'linux' ) return getLinuxDistro ( cb )
2222 // Else, node's builtin is acceptable.
23- return cb ( null , { 'os' : osName } )
23+ return cb ( null , { os : osName } )
2424}
2525
2626/**
@@ -48,7 +48,7 @@ function getLinuxDistro (cb) {
4848 * files and match them to a potential distribution
4949 */
5050 var candidates = distros [ file ]
51- var os = { 'os' : 'linux' , ' dist' : candidates [ 0 ] }
51+ var os = { os : 'linux' , dist : candidates [ 0 ] }
5252
5353 fs . readFile ( file , 'utf-8' , function ( e , file ) {
5454 if ( e ) return cb ( e )
Original file line number Diff line number Diff line change 2525 },
2626 "homepage" : " https://github.com/retrohacker/getos" ,
2727 "devDependencies" : {
28- "cli-color" : " 1.4.0" ,
29- "execSync" : " 1.0.2" ,
30- "standard" : " ^12.0.1 " ,
31- "tape" : " 4.9.1 "
28+ "cli-color" : " ^ 1.4.0" ,
29+ "execSync" : " ^ 1.0.2" ,
30+ "standard" : " ^13.1.0 " ,
31+ "tape" : " ^4.11.0 "
3232 },
3333 "dependencies" : {
34- "async" : " 2.6.1 "
34+ "async" : " ^3.1.0 "
3535 },
3636 "contributors" : [
3737 {
You can’t perform that action at this time.
0 commit comments