Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
update publish action
  • Loading branch information
Daniel OBrien committed Feb 2, 2024
1 parent d389b60 commit 5f72598
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
yarn: true
- name: Publish to Visual Studio Marketplace for pre-release
if: ${{ steps.extract_branch.outputs.branch == 'prerelease' }}
uses: HaaLeo/publish-vscode-extension@v1
uses: HaaLeo/publish-vscode-extension@v1.6.0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
Expand Down
5 changes: 2 additions & 3 deletions src/configurationMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,15 @@ export class ConfigurationMenu {
logDebugMessage(`Environment picker project: ${state.project}`);
logDebugMessage(`Environment project data: ${JSON.stringify(project)}`);
const environments = project.environments.items;
logDebugMessage(`Environment picker environments: ${environments}`);
const envs = async () => {
const selectEnvironmentOptions = environments
.filter((item) => this.createEnvQuickPickItem(item))
.map((item) => this.createQuickPickItem(item));
logDebugMessage(`selectEnvironmentOptions: ${selectEnvironmentOptions}`);
logDebugMessage(`selectEnvironmentOptions: ${JSON.stringify(selectEnvironmentOptions)}`);
const cannotSelectEnvironmentOptions = environments
.filter((item) => !this.createEnvQuickPickItem(item))
.map((item) => this.createQuickPickItem(item));
logDebugMessage(`cannotSelectEnvironmentOptions: ${cannotSelectEnvironmentOptions}`);
logDebugMessage(`cannotSelectEnvironmentOptions: ${JSON.stringify(cannotSelectEnvironmentOptions)}`);
const envSeparator = {
label: 'These environments do not have their SDK Available to select. Configuration will fail.',
kind: QuickPickItemKind.Separator,
Expand Down
2 changes: 1 addition & 1 deletion src/providers/flagListView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class LaunchDarklyFlagListProvider implements TreeDataProvider<TreeItem>
} catch (err) {
//nothing
}
logDebugMessage(`Flags in file: ${flagsFound}`);
logDebugMessage(`Flags in file: ${JSON.stringify(flagsFound)}`);
if (flagsFound.length > 0) {
for await (const flag of flagsFound) {
const codelensFlag = flag as FlagList;
Expand Down

0 comments on commit 5f72598

Please sign in to comment.