Fix index.js style
This commit is contained in:
11
index.js
11
index.js
@@ -16,18 +16,11 @@ function getDesktopTrampolineFilename() {
|
||||
}
|
||||
|
||||
function getSSHWrapperPath() {
|
||||
return Path.join(
|
||||
__dirname,
|
||||
'build',
|
||||
'Release',
|
||||
getSSHWrapperFilename()
|
||||
)
|
||||
return Path.join(__dirname, 'build', 'Release', getSSHWrapperFilename())
|
||||
}
|
||||
|
||||
function getSSHWrapperFilename() {
|
||||
return process.platform === 'win32'
|
||||
? 'ssh-wrapper.exe'
|
||||
: 'ssh-wrapper'
|
||||
return process.platform === 'win32' ? 'ssh-wrapper.exe' : 'ssh-wrapper'
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user