Skip to content

Commit bb3011e

Browse files
committed
Updated helpers.ts
1 parent d9542c1 commit bb3011e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

integration-tests/utils/helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ const isNativeAuthAccessTokenCached = ():boolean => {
205205
const getTokenPathByOS = () => {
206206
switch (os.type()) {
207207
case 'Linux': {
208-
const configDir = `${os.homedir()}/.cache/itp`
209-
expect(fs.existsSync(configDir),"Cache dir exists").to.be.true;
210-
return `${configDir}/token.json`
208+
return `${os.homedir()}/.cache/itp/token.json`
211209
}
212210

213211
case 'Windows_NT': {

0 commit comments

Comments
 (0)