From cc157180a8e2ec3121f6e9cedadea3ff9960b18c Mon Sep 17 00:00:00 2001 From: Vitaly Domnikov Date: Tue, 27 Sep 2016 13:04:47 -0700 Subject: [PATCH] Fix `now alias ls` inconsistency Fix `now alias ls` inconsistency. --- bin/now-alias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/now-alias b/bin/now-alias index b018fc2..08cdae6 100755 --- a/bin/now-alias +++ b/bin/now-alias @@ -145,7 +145,7 @@ async function run (token) { }), { align: ['l', 'r', 'l'], hsep: ' '.repeat(2) }); const elapsed_ = ms(new Date() - start_); - console.log(`> ${list.length} alias${list.length > 1 ? 'es' : ''} found ${chalk.gray(`[${elapsed_}]`)}`); + console.log(`> ${aliases.length} alias${aliases.length > 1 ? 'es' : ''} found ${chalk.gray(`[${elapsed_}]`)}`); if (text) console.log('\n' + text + '\n'); break;