Skip to content

Commit

Permalink
fix crlf
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di authored Dec 11, 2024
1 parent 49c1f78 commit 5d8f710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CoverageUtils {
} 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').toList()
return pids.split('\r?\n').toList()
}

static CoverageContext prepareContext(JobConfiguration config, StepCoverageOptions options) {
Expand Down

0 comments on commit 5d8f710

Please sign in to comment.