mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-07-02 01:14:23 +08:00
4 lines
185 B
JavaScript
4 lines
185 B
JavaScript
export const ENV_PROFILE = "AWS_PROFILE";
|
|
export const DEFAULT_PROFILE = "default";
|
|
export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
|