Skip to content

Commit fbd5336

Browse files
committed
fix scope of variable x in get_fname function. Fixes #41
1 parent ec2fd9b commit fbd5336

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pipelines/pipeline_stages.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SLOP=5
99
// Helper functions
1010

1111
def get_fname(path) {
12-
x = path.split('/')[-1]
12+
def x = path.split('/')[-1]
1313
return(x)
1414
}
1515

0 commit comments

Comments
 (0)