Browse Source

update to lesspass 5.0.1

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
0e19622cab
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      cli.js
  2. +1
    -1
      package.json

+ 3
- 2
cli.js View File

@@ -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);
});
});
}



+ 1
- 1
package.json View File

@@ -24,7 +24,7 @@
"lesspass"
],
"dependencies": {
"lesspass": "^4.0.4",
"lesspass": "^5.0.1",
"meow": "^3.3.0",
"read": "^1.0.7"
},


Loading…
Cancel
Save