()
| 111 | ['production', 'beta', 'test'].includes(getChannel()) |
| 112 | |
| 113 | export const getChannel = () => |
| 114 | process.env.RELEASE_CHANNEL ?? process.env.NODE_ENV ?? 'development' |
| 115 | |
| 116 | export function getDistArchitecture(): 'arm64' | 'x64' { |
| 117 | // If a specific npm_config_arch is set, we use that one instead of the OS arch (to support cross compilation) |
no outgoing calls
no test coverage detected