From 63c45c7ad11d9c368cf932a9c902b9bbb2edf9db Mon Sep 17 00:00:00 2001 From: AGitBoy Date: Sat, 26 Jan 2019 19:54:14 -0500 Subject: [PATCH] Disabled clearing clipboard for stdout output --- src/schedule-cleanup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedule-cleanup.js b/src/schedule-cleanup.js index 4910a6d..f2ade9a 100644 --- a/src/schedule-cleanup.js +++ b/src/schedule-cleanup.js @@ -27,8 +27,8 @@ module.exports = ({ lockBitwardenAfter, clearClipboardAfter, sessionFile, stdout } }), timeout(clearClipboardAfter * 1000).then(() => { - clipboardy.writeSync('') if(!stdout) { + clipboardy.writeSync('') console.info('clipboard is cleared.') } })