Skip to content

Commit

Permalink
fix: change {} to null
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalez0515 authored and gr2m committed Aug 28, 2017
1 parent fe7cc6f commit 03c2c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/password-storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = function (service) {
var keytar = require('keytar')
} catch (e) {
return {
get: () => Promise.resolve({}),
get: () => Promise.resolve(null),
set: () => {
debug('"keytar" is not installed correctly, not saving password')
return Promise.resolve()
Expand Down

0 comments on commit 03c2c8a

Please sign in to comment.