Skip to content

Commit 9fabb4f

Browse files
committed
Updated helpers.ts
1 parent 59f66b6 commit 9fabb4f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

integration-tests/utils/helpers.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,12 @@ const isNativeAuthAccessTokenCached = ():boolean => {
204204

205205
const getTokenPathByOS = () => {
206206
switch (os.type()) {
207-
case 'Darwin': {
208-
return "~/Library/Caches/itp/token.json"
209-
}
210-
211207
case 'Linux': {
212208
const configDir = `${os.homedir()}/.cache/itp`
213209
expect(fs.existsSync(configDir),"Cache dir exists").to.be.true;
214210
return `${configDir}/token.json`
215211
}
216-
212+
217213
case 'Windows_NT': {
218214
return `${process.env.LOCALAPPDATA}/itp/token.json`
219215
}

0 commit comments

Comments
 (0)