Inspecting 1 file.
create_job_cpio.cr:83:35 [C] Layout/TrailingWhitespace: Trailing whitespace detected
job_content.delete("job2sh")
^
Signed-off-by: Zhang Yu 2134782174@qq.com --- src/scheduler/create_job_cpio.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/scheduler/create_job_cpio.cr b/src/scheduler/create_job_cpio.cr index cfa40ab..1101a0f 100644 --- a/src/scheduler/create_job_cpio.cr +++ b/src/scheduler/create_job_cpio.cr @@ -80,7 +80,7 @@ class Sched # put job2sh in an array if job_content.has_key?("job2sh") tmp_job_sh_content = job_content["job2sh"] - job_content.delete("job2sh") + job_content.delete("job2sh")
job_sh_array = [] of JSON::Any tmp_job_sh_content.as_h.each do |_key, val|