Skip to content

Commit

Permalink
fix: camel case targets not working in generate & run target pane
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackDeRose committed Jun 10, 2022
1 parent aa26cab commit a73d7d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/vscode/webview/src/lib/get-task-execution-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export async function getTaskExecutionSchema(
if (!validWorkspaceJson) {
return;
}
command = command.toLowerCase();
switch (command) {
const lowerCommand = command.toLowerCase();
switch (lowerCommand) {
case 'run': {
const runnableItems = (await cliTaskProvider.getProjectEntries())
.filter(([, { targets }]) => Boolean(targets))
Expand Down

0 comments on commit a73d7d4

Please sign in to comment.