()
| 33 | |
| 34 | // Get the config directory path |
| 35 | export const getConfigDir = (): string => { |
| 36 | return path.join( |
| 37 | os.homedir(), |
| 38 | '.config', |
| 39 | 'manicode' + |
| 40 | // on a development stack? |
| 41 | (env.NEXT_PUBLIC_CB_ENVIRONMENT !== 'prod' |
| 42 | ? `-${env.NEXT_PUBLIC_CB_ENVIRONMENT}` |
| 43 | : ''), |
| 44 | ) |
| 45 | } |
| 46 | |
| 47 | // Get the credentials file path |
| 48 | export const getCredentialsPath = (): string => { |
no outgoing calls