Skip to content

Commit 54a0023

Browse files
committed
DHFPROD-2461: trim the filename incase of trailing or leading space
1 parent d37b380 commit 54a0023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml-data-hub-plugin/src/main/groovy/com/marklogic/gradle/task/RunFlowTask.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class RunFlowTask extends HubTask {
134134
Map<String, Object> options = new HashMap<>()
135135
def optionsString;
136136
if(project.ext.properties.containsKey("optionsFile")){
137-
def jsonFile = new File(project.ext.optionsFile)
137+
def jsonFile = new File(project.ext.optionsFile.trim())
138138
optionsString = jsonFile.text
139139
}
140140
else if(project.ext.properties.containsKey("options")) {

0 commit comments

Comments
 (0)