Skip to content

Commit

Permalink
Preparing and finalizing for build.
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed Jul 18, 2024
1 parent 0315bd9 commit 0c3ef4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.11.0)
project(recodex-worker)
set(RECODEX_VERSION 1.8.0)
set(RECODEX_VERSION 1.9.0)
enable_testing()

set(EXEC_NAME ${PROJECT_NAME})
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ std::shared_ptr<job_metadata> helpers::build_job_metadata(const YAML::Node &conf
task_meta->cmd_args = ctask["cmd"]["args"].as<std::vector<std::string>>();
} // can be omitted... no throw

if (ctask["cmd"]["success_exit_codes"]) {
load_task_success_exit_codes(ctask["cmd"]["success_exit_codes"], task_meta->success_exit_codes);
if (ctask["cmd"]["success-exit-codes"]) {
load_task_success_exit_codes(ctask["cmd"]["success-exit-codes"], task_meta->success_exit_codes);
}
} else {
throw config_exception("Command in task is not a map");
Expand Down

0 comments on commit 0c3ef4f

Please sign in to comment.