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.') } })