diff --git a/terminus-ssh/src/services/ssh.service.ts b/terminus-ssh/src/services/ssh.service.ts index 51b3d72d..622efb94 100644 --- a/terminus-ssh/src/services/ssh.service.ts +++ b/terminus-ssh/src/services/ssh.service.ts @@ -114,8 +114,8 @@ export class SSHService { 'ssh-keygen.exe', ) await execFile('icacls', [temp.path, '/inheritance:r']) - let sid = await execFile('whoami', ['/user', '/nh']); - sid = sid[0].split(' ')[0]; + let sid = await execFile('whoami', ['/user', '/nh']) + sid = sid[0].split(' ')[0] await execFile('icacls', [temp.path, '/grant:r', `${sid}:(R,W)`]) }