Skip to content

Commit

Permalink
Рефакторинг
Browse files Browse the repository at this point in the history
  • Loading branch information
kozstlink committed Dec 3, 2021
1 parent c8259bf commit 78b4942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class OscriptModules {

IStepExecutor steps = ContextRegistry.getContext().getStepExecutor()

String moduleBinary = steps.isUnix() ? moduleName : "$moduleName"".bat";
String moduleBinary = steps.isUnix() ? moduleName : "$moduleName.bat";
String modulePath = "oscript_modules/bin/$moduleBinary";
if (!steps.fileExists(modulePath)) {
modulePath = moduleBinary;
Expand Down

0 comments on commit 78b4942

Please sign in to comment.