1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-10-06 10:36:45 -04:00
parent 7394cec986
commit 79f20f09cb
8 changed files with 20 additions and 17 deletions

View File

@@ -240,13 +240,17 @@ function initAutofill() {
totpPromise = self.totpService.isAutoCopyEnabled().then(function (enabled) {
if (enabled) {
/* jshint ignore:start */
return self.totpService.getCode(login.totp);
/* jshint ignore:end */
}
return null;
}).then(function (code) {
if (code) {
/* jshint ignore:start */
self.utilsService.copyToClipboard(code);
/* jshint ignore:end */
}
return code;