Skip to main content

transform_bunfig_for_env

Function transform_bunfig_for_env 

Source
pub fn transform_bunfig_for_env(
    content: &str,
    allow_all_domains: bool,
) -> Result<Option<String>, AuthError>
Expand description

Replace eligible Bun authentication entries with a NODE_AUTH_TOKEN reference.

Returns None when the configuration has no eligible registry.