@sahu-01/openpaw 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -230965,12 +230965,14 @@ async function processAuthProfiles(profilePath, vault) {
|
|
|
230965
230965
|
const credId = profile.key.replace("openpaw:vault:", "");
|
|
230966
230966
|
const envVarName = credIdToEnvVar(credId);
|
|
230967
230967
|
envVarMap.set(envVarName, { credId, provider });
|
|
230968
|
-
profile.key
|
|
230968
|
+
delete profile.key;
|
|
230969
230969
|
modified = true;
|
|
230970
230970
|
} else if (profile.key.startsWith("${OPENPAW_") && profile.key.endsWith("}")) {
|
|
230971
230971
|
const envVarName = profile.key.slice(2, -1);
|
|
230972
230972
|
const credId = envVarName.replace("OPENPAW_", "").toLowerCase();
|
|
230973
230973
|
envVarMap.set(envVarName, { credId, provider });
|
|
230974
|
+
delete profile.key;
|
|
230975
|
+
modified = true;
|
|
230974
230976
|
}
|
|
230975
230977
|
}
|
|
230976
230978
|
}
|