Skip to content

Commit

Permalink
Fix find and replace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Oct 12, 2016
1 parent f3497a0 commit 8a4fe2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/auto/hlsjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ var HttpServer = require('http-server');
var streams = require('../streams.json');

var onTravis = !!process.env.TRAVIS;
var stream_ID = onTravis ? process.env.TEST_stream_ID : 'arte';
if (!stream_ID) {
var STREAM_ID = onTravis ? process.env.TEST_STREAM_ID : 'arte';
if (!STREAM_ID) {
throw new Error('No stream ID.');
}
var stream = streams[stream_ID];
var stream = streams[STREAM_ID];
if (!stream) {
throw new Error('Could not find stream "'+stream_ID+'"');
}
Expand Down

0 comments on commit 8a4fe2a

Please sign in to comment.