Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Feb 2, 2024
1 parent 051db53 commit 4656d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/measure/OSRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ namespace measure {
OSArgumentType type;
for (const OSArgument& script_argument : script_arguments) {
if (script_argument.required()) {
switch (script_argument.type().value() {
switch (script_argument.type().value()) {
case OSArgumentType::Choice:
argument_values[script_argument.name()] = getStringArgumentValue(script_argument.name(), user_arguments);
case OSArgumentType::Boolean:
Expand All @@ -803,7 +803,7 @@ namespace measure {
argument_values[script_argument.name()] = getStringArgumentValue(script_argument.name(), user_arguments);
}
} else {
switch (script_argument.type().value() {
switch (script_argument.type().value()) {
case OSArgumentType::Choice:
if (boost::optional<std::string> optS_ = getOptionalStringArgumentValue(script_argument.name(), user_arguments)) {
argument_values[script_argument.name()] = *optS_;
Expand Down

0 comments on commit 4656d9d

Please sign in to comment.