File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ namespace runcpp2
4040 PipelineResult StartPipeline ( const std::string& scriptPath,
4141 const std::vector<Data::Profile>& profiles,
4242 const std::string& configPreferredProfile,
43- const std::unordered_map<CmdOptions, std::string> currentOptions,
43+ const std::unordered_map< CmdOptions,
44+ std::string>& currentOptions,
4445 const std::vector<std::string>& runArgs,
4546 const Data::ScriptInfo* lastScriptInfo,
4647 const std::string& buildOutputDir,
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ runcpp2::ParseAndValidateScriptInfo(const ghc::filesystem::path& absoluteScriptP
322322
323323 if (ghc::filesystem::exists (dedicatedYamlLoc, e))
324324 {
325- // Record write time for yaml file
325+ // Record write time for yaml file for watch option
326326 outScriptInfo.LastWriteTime = ghc::filesystem::last_write_time (dedicatedYamlLoc, e);
327327 if (e)
328328 {
@@ -337,7 +337,7 @@ runcpp2::ParseAndValidateScriptInfo(const ghc::filesystem::path& absoluteScriptP
337337 }
338338 else
339339 {
340- // Record write time for script file
340+ // Record write time for script file for watch option
341341 outScriptInfo.LastWriteTime = ghc::filesystem::last_write_time (absoluteScriptPath, e);
342342 if (e)
343343 {
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ runcpp2::PipelineResult
397397runcpp2::StartPipeline ( const std::string& scriptPath,
398398 const std::vector<Data::Profile>& profiles,
399399 const std::string& configPreferredProfile,
400- const std::unordered_map<CmdOptions, std::string> currentOptions,
400+ const std::unordered_map<CmdOptions, std::string>& currentOptions,
401401 const std::vector<std::string>& runArgs,
402402 const Data::ScriptInfo* lastScriptInfo,
403403 const std::string& buildOutputDir,
You can’t perform that action at this time.
0 commit comments