be standard
This commit is contained in:
parent
3ce46663b9
commit
b152f6d215
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ var paths = {
|
||||||
if (!paths[platform]) throw new Error('Unknown platform: ' + platform)
|
if (!paths[platform]) throw new Error('Unknown platform: ' + platform)
|
||||||
|
|
||||||
if (installedVersion === version && fs.existsSync(paths[platform])) {
|
if (installedVersion === version && fs.existsSync(paths[platform])) {
|
||||||
return
|
process.exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// downloads if not cached
|
// downloads if not cached
|
||||||
|
|
Loading…
Reference in a new issue