Skip to content

Commit

Permalink
update string to const
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel OBrien committed Feb 8, 2024
1 parent 7e6616c commit 0fa575e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/configureLaunchDarklyEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { commands, Disposable, window } from 'vscode';
import { extensionReload } from '../generalUtils';
import { CMD_LD_CONFIG_ENV } from '../utils/commands';
import { ILDExtensionConfiguration } from '../models';
import { CONST_LD_PREFIX } from '../utils/constants';

export default async function configureEnvironmentCmd(config: ILDExtensionConfiguration): Promise<Disposable> {
const configureEnvironmentCmd = commands.registerCommand(CMD_LD_CONFIG_ENV, async () => {
Expand All @@ -23,7 +24,7 @@ export default async function configureEnvironmentCmd(config: ILDExtensionConfig
}
} catch (err) {
console.log(err);
window.showErrorMessage(`[LaunchDarkly] ${err}`);
window.showErrorMessage(`${CONST_LD_PREFIX} ${err}`);
}
});

Expand Down

0 comments on commit 0fa575e

Please sign in to comment.