Skip to content

Commit 129cb28

Browse files
committed
Remove stdfmt from sandboxjs info
1 parent e6b73d7 commit 129cb28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/sandboxjs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ def stdfmt(data): # type: (Text) -> Text
292292
info = u"returncode was: %s\nscript was:\n%s\nstdout was: %s\nstderr was: %s\n" %\
293293
(nodejs.returncode, fn_linenum(), stdfmt(stdoutdata.decode('utf-8')), stdfmt(stderrdata.decode('utf-8')))
294294
else:
295-
info = stdfmt(u"Javascript expression was: %s\nstdout was: %s\nstderr was: %s" %\
296-
(js, stdfmt(stdoutdata.decode('utf-8')), stdfmt(stderrdata.decode('utf-8'))))
295+
info = u"Javascript expression was: %s\nstdout was: %s\nstderr was: %s" %\
296+
(js, stdfmt(stdoutdata.decode('utf-8')), stdfmt(stderrdata.decode('utf-8')))
297297

298298
if nodejs.poll() not in (None, 0):
299299
if killed:

0 commit comments

Comments
 (0)