Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hlshen committed Oct 21, 2024
1 parent b6e7a61 commit 9c434e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion firebase-vscode/src/utils/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export function getSettings(): Settings {
// TODO: Consider moving side effect out of getSettings
// Persist env var as path setting when path setting doesn't exist
if (process.env.FIREBASE_BINARY && !config.get<string>("firebasePath")) {
config.update("firebasePath", process.env.FIREBASE_BINARY, ConfigurationTarget.Global);
config.update(
"firebasePath",
process.env.FIREBASE_BINARY,
ConfigurationTarget.Global,
);
window.showInformationMessage(
"Detected FIREBASE_BINARY env var. Saving to `Firebase Path` setting.",
);
Expand Down

0 comments on commit 9c434e2

Please sign in to comment.