remove units from rate columns in routability testing

This commit is contained in:
karenzshea
2017-02-09 10:54:39 +01:00
committed by Patrick Niklaus
parent 140f1ad923
commit 1f3a8d4538
10 changed files with 110 additions and 105 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ module.exports = function () {
if (row.weight.length) {
if (!row.weight.match(/[\d\.]+/))
return cb(new Error('*** Weight must be specified as a numeric value. (ex: 8)'));
got.weight = instructions ? util.format('%dm', weight) : '';
got.weight = instructions ? util.format('%d', weight) : '';
} else {
got.weight = '';
}