()
| 620 | }; |
| 621 | |
| 622 | const resolveFileAuthPath = (): string => { |
| 623 | const xdg = |
| 624 | process.env.XDG_DATA_HOME?.trim() || |
| 625 | (process.platform === "win32" |
| 626 | ? process.env.LOCALAPPDATA || process.env.APPDATA || join(homedir(), "AppData", "Local") |
| 627 | : join(homedir(), ".local", "share")); |
| 628 | return join(xdg, "executor", "auth.json"); |
| 629 | }; |
| 630 | |
| 631 | type AuthFile = Record<string, string | Record<string, string>>; |
| 632 |
no outgoing calls
no test coverage detected