Skip to content

Commit

Permalink
Try using multistring approach
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed May 2, 2024
1 parent 0f3fc31 commit 42d7aa7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/methods/common_methods.config
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,12 @@ methods {
process_log_dir += task.ext.processlogdir_suffix
}

return [
"mkdir -p \"${process_log_dir}\"",
"for filename in .command.*; do",
" cp \"\${filename}\" \"${process_log_dir}/log\${filename}\"",
"done"
].join("\n")
return """\
mkdir -p "${process_log_dir}"
for filename in .command.*; do
cp "\${filename}" "${process_log_dir}/log\${filename}"
done
""".stripIndent()
}

/*
Expand Down

0 comments on commit 42d7aa7

Please sign in to comment.