Silences warnings when running npm test

This commit is contained in:
Daniel J. Hofmann 2016-05-16 14:43:54 -04:00
parent 6ed9be31ca
commit d5294bb5d0

View File

@ -146,9 +146,9 @@ module.exports = function () {
// instructions, and the leading 0 on all timestamps arrays.
var pairs = [];
for (var i in instructions.annotation.duration) {
pairs.push(instructions.annotation.duration[i]+":"+instructions.annotation.distance[i]);
pairs.push(instructions.annotation.duration[i]+':'+instructions.annotation.distance[i]);
}
return pairs.join(",");
return pairs.join(',');
};
this.turnList = (instructions) => {