Fixes util.format calls in Cucumber support code

This commit is contained in:
Daniel J. Hofmann
2017-04-28 16:25:41 +02:00
parent 2021c30805
commit 5532ee627f
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -217,11 +217,11 @@ module.exports = function () {
if (row.from && row.to) {
var fromNode = this.findNodeByName(row.from);
if (!fromNode) return cb(new Error(util.format('*** unknown from-node "%s"'), row.from));
if (!fromNode) return cb(new Error(util.format('*** unknown from-node "%s"', row.from)));
waypoints.push(fromNode);
var toNode = this.findNodeByName(row.to);
if (!toNode) return cb(new Error(util.format('*** unknown to-node "%s"'), row.to));
if (!toNode) return cb(new Error(util.format('*** unknown to-node "%s"', row.to)));
waypoints.push(toNode);
got.from = row.from;