diff --git a/lib/do_profile.js b/lib/do_profile.js index 789f6df..437d4ab 100644 --- a/lib/do_profile.js +++ b/lib/do_profile.js @@ -394,9 +394,9 @@ function _addProfile(opts, cb) { tilde(value, function (keyPath) { fs.stat(keyPath, function (statErr, stats) { if (statErr || !stats.isFile()) { - return valCb(new Error( + return valCb(new Error(format( '"%s" is neither a valid fingerprint, ' + - 'nor an existing file', value)); + 'nor an existing file', value))); } fs.readFile(keyPath, function (readErr, keyData) { if (readErr) {