Skip to content

Commit

Permalink
GL-2753 : CS Wizard updated node version select values
Browse files Browse the repository at this point in the history
  • Loading branch information
PrakharJainS3 committed Jul 8, 2024
1 parent a845434 commit 5d215b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Command/CodeStudio/CodeStudioWizardCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
break;
case "Node_project":
$nodeVersions = [

Check warning on line 62 in src/Command/CodeStudio/CodeStudioWizardCommand.php

View workflow job for this annotation

GitHub Actions / Mutation Testing

Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $phpVersion = $phpVersions[$project]; break; case "Node_project": - $nodeVersions = ['NODE_version_18' => "18", 'NODE_version_20' => "20"]; + $nodeVersions = ['NODE_version_20' => "20"]; $project = $this->io->choice('Select a NODE version', array_values($nodeVersions), "20"); $project = array_search($project, $nodeVersions, TRUE); $nodeVersion = $nodeVersions[$project];
'NODE_version_18.17.1' => "18.17.1",
'NODE_version_20.5.1' => "20.5.1",
'NODE_version_18' => "18",
'NODE_version_20' => "20",
];
$project = $this->io->choice('Select a NODE version', array_values($nodeVersions), "18.17.1");
$project = $this->io->choice('Select a NODE version', array_values($nodeVersions), "20");
$project = array_search($project, $nodeVersions, TRUE);
$nodeVersion = $nodeVersions[$project];
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function providerTestCommand(): array {
'y',
// Select a project type Node_project.
'1',
// Select NODE version 18.17.1.
// Select NODE version 18.
'0',
// Do you want to continue?
'y',
Expand All @@ -163,7 +163,7 @@ public function providerTestCommand(): array {
'y',
// Select a project type Node_project.
'1',
// Select NODE version 20.5.1.
// Select NODE version 20.
'1',
// Do you want to continue?
'y',
Expand Down Expand Up @@ -228,7 +228,7 @@ public function providerTestCommand(): array {
$this->secret,
// Select a project type Node_project.
'1',
// Select NODE version 18.17.1.
// Select NODE version 18.
'0',
// Do you want to continue?
'y',
Expand Down Expand Up @@ -270,7 +270,7 @@ public function providerTestCommand(): array {
$this->secret,
// Select a project type Node_project.
'1',
// Select NODE version 20.5.1.
// Select NODE version 20.
'1',
// Do you want to continue?
'y',
Expand Down

0 comments on commit 5d215b3

Please sign in to comment.