Skip to content

Commit

Permalink
now-certs: Fix typo on formatExpirationDate()
Browse files Browse the repository at this point in the history
  • Loading branch information
OlliV committed Oct 20, 2016
1 parent b98bc74 commit 40000d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/now-certs
Expand Up @@ -97,7 +97,7 @@ if (argv.help || !subcommand) {

function formatExpirationDate (date) {
const diff = date - Date.now();
return diff < 0 ? chalk.gray(ms(new Date(-expDiff)) + ' ago') : chalk.gray('in ' + ms(new Date(diff)));
return diff < 0 ? chalk.gray(ms(new Date(-diff)) + ' ago') : chalk.gray('in ' + ms(new Date(diff)));
}

async function run (token) {
Expand Down

0 comments on commit 40000d7

Please sign in to comment.