Skip to content

Commit b585c27

Browse files
committed
fix regression from not including groovy nio lib
1 parent d918129 commit b585c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/bpipe/PooledExecutor.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class PooledExecutor implements CommandExecutor, ForwardHost {
112112
Path cmdScriptTmp = storage.toPath(".bpipe/commandtmp/$hostCommandId/" + ExecutorPool.POOLED_COMMAND_FILENAME + ".tmp")
113113

114114
log.info "Write command $cmd.command to command script at $cmdScriptTmp"
115-
cmdScriptTmp.text = cmd.command
115+
cmdScriptTmp.toFile().text = cmd.command
116116

117117
log.info "File to move is created"
118118
Thread.sleep(2000)

0 commit comments

Comments
 (0)