Skip to content

Commit

Permalink
toList
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Sep 2, 2024
1 parent c4821dd commit a587cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/pulsar/jenkins/library/steps/Yaxunit.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,6 @@ class Yaxunit implements Serializable {
} else {
pids = steps.bat("chcp 65001 > nul \nfor /f \"tokens=2\" %a in ('tasklist ^| findstr $name') do @echo %a", false, true, 'UTF-8')
}
return pids.split('\n')
return pids.split('\n').toList()
}
}

0 comments on commit a587cc6

Please sign in to comment.