Skip to content

Commit

Permalink
Зменил проверку . на ./
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovEV committed Mar 14, 2024
1 parent 569eba5 commit 09b885b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class GetExtensions implements Serializable {
localPathToExtension.copyFrom(new URL(extension.path))
} else {
// If the path is a local file, copy the file
String localPath = extension.path.startsWith(".") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
String localPath = extension.path.startsWith("./") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
FilePath localFilePath = FileUtils.getFilePath(localPath)
localPathToExtension.copyFrom(localFilePath)
}
Expand Down

0 comments on commit 09b885b

Please sign in to comment.