Skip to content

Commit c161f87

Browse files
committed
Correct std output log name
1 parent 5a6bb88 commit c161f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ srv.get(`/${ENDPOINT}/:id`, function (req, res) {
203203
);
204204
fetchCommit(req.params.id, !isSHA, req.query.module)
205205
.then(id => {
206-
let filename = log_only? `test_output.log` : `std_output-${lib.shortID(req.params.id)}.log`;
206+
let filename = log_only? `test_output.log` : `std_output-${lib.shortID(id)}.log`;
207207
let logFile = path.join(config.dataPath, 'reports', id, filename);
208208
fs.readFile(logFile, 'utf8', (err, data) => {
209209
if (err) {

0 commit comments

Comments
 (0)