Skip to content
Permalink
Browse files

add workaround to fix possible failure on old pipelines checking file…

… existence
  • Loading branch information...
ssadedin committed Sep 17, 2019
1 parent 1e0cf46 commit e246d74e653f33075242dd8684a978cc5f46190f
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/groovy/bpipe/Utils.groovy
@@ -186,6 +186,11 @@ class Utils {
return !newerInputs.isEmpty()
}

@CompileStatic
static boolean fileExists(PipelineOutput o) {
fileExists(new File(o.toString()))
}

@CompileStatic
static boolean fileExists(File f) {

0 comments on commit e246d74

Please sign in to comment.
You can’t perform that action at this time.