Commit 9f4ad001 authored by priit's avatar priit

Dockeri alge

parent d01b586f
...@@ -32,7 +32,7 @@ function LocalCommandTemplate(){ ...@@ -32,7 +32,7 @@ function LocalCommandTemplate(){
session.setErrors(response.errors); session.setErrors(response.errors);
} }
var outputType = config.wrapper.outputTypes.pop(); var outputType = config.wrapper.outputTypes[0];
session.addOutputFile('id_x', { session.addOutputFile('id_x', {
key : outputType.key, key : outputType.key,
......
...@@ -29,7 +29,7 @@ function InputOutputLocalCommand(){ ...@@ -29,7 +29,7 @@ function InputOutputLocalCommand(){
session.setErrors(response.errors); session.setErrors(response.errors);
} }
var outputType = config.wrapper.outputTypes.pop(); var outputType = config.wrapper.outputTypes[0];
session.addOutputFile('id_x', { session.addOutputFile('id_x', {
key : outputType.key, key : outputType.key,
......
...@@ -35,8 +35,6 @@ function SimpleLocalCommand(){ ...@@ -35,8 +35,6 @@ function SimpleLocalCommand(){
var outputType = config.wrapper.outputTypes[0]; var outputType = config.wrapper.outputTypes[0];
logger.debug( outputType );
session.addOutputFile('id_x', { session.addOutputFile('id_x', {
key : outputType.key, key : outputType.key,
type: outputType.type, type: outputType.type,
...@@ -45,10 +43,6 @@ function SimpleLocalCommand(){ ...@@ -45,10 +43,6 @@ function SimpleLocalCommand(){
contentType: mime.lookup(response.stdOutPath) contentType: mime.lookup(response.stdOutPath)
}); });
logger.debug( 'File is set' );
return callback( err, session ); return callback( err, session );
}); });
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment