From 0e19622cab51e5928acdb3010d466fdfb2a4df8c Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 26 Oct 2016 09:02:37 +0200 Subject: [PATCH] update to lesspass 5.0.1 --- cli.js | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cli.js b/cli.js index e2b7f81..3ee6fe7 100755 --- a/cli.js +++ b/cli.js @@ -32,8 +32,9 @@ var cli = meow(` function calcPassword(site, login, masterPassword, options) { lesspass.encryptLogin(login, masterPassword).then(function (encryptedLogin) { - var generatedPassword = lesspass.renderPassword(encryptedLogin, site, options); - console.log(generatedPassword); + lesspass.renderPassword(encryptedLogin, site, options).then(function (generatedPassword) { + console.log(generatedPassword); + }); }); } diff --git a/package.json b/package.json index 3514a60..45ca678 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lesspass" ], "dependencies": { - "lesspass": "^4.0.4", + "lesspass": "^5.0.1", "meow": "^3.3.0", "read": "^1.0.7" },