Commit 686ad14aeeb90ffd6f8dee7007ed2f4f0b17638d
1 parent
4e755e9f
Exists in
master
and in
1 other branch
Refactoring the source code of endpoints files
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
endpoints/video.js
| @@ -47,9 +47,9 @@ function init(req, res) { | @@ -47,9 +47,9 @@ function init(req, res) { | ||
| 47 | /* Executa a linha de comando */ | 47 | /* Executa a linha de comando */ |
| 48 | child = exec(command_line, function(err, stdout, stderr) { | 48 | child = exec(command_line, function(err, stdout, stderr) { |
| 49 | // [stdout] = vlibras-core output | 49 | // [stdout] = vlibras-core output |
| 50 | - console.log('Err: ' + err); | ||
| 51 | - console.log('STDOUT: ' + stdout); | ||
| 52 | - console.log('STDERR: ' + stderr); | 50 | + // console.log('Err: ' + err); |
| 51 | + // console.log('STDOUT: ' + stdout); | ||
| 52 | + // console.log('STDERR: ' + stderr); | ||
| 53 | }); | 53 | }); |
| 54 | 54 | ||
| 55 | if (req.body.callback === undefined) { | 55 | if (req.body.callback === undefined) { |
endpoints/video_legenda.js
| @@ -59,9 +59,9 @@ function init(req, res) { | @@ -59,9 +59,9 @@ function init(req, res) { | ||
| 59 | /* Executa a linha de comando */ | 59 | /* Executa a linha de comando */ |
| 60 | child = exec(command_line, function(err, stdout, stderr) { | 60 | child = exec(command_line, function(err, stdout, stderr) { |
| 61 | // [stdout] = vlibras-core output | 61 | // [stdout] = vlibras-core output |
| 62 | - console.log('Err: ' + err); | ||
| 63 | - console.log('STDOUT: ' + stdout); | ||
| 64 | - console.log('STDERR: ' + stderr); | 62 | + // console.log('Err: ' + err); |
| 63 | + // console.log('STDOUT: ' + stdout); | ||
| 64 | + // console.log('STDERR: ' + stderr); | ||
| 65 | }); | 65 | }); |
| 66 | 66 | ||
| 67 | if (req.body.callback === undefined) { | 67 | if (req.body.callback === undefined) { |