node-copy-paste icon indicating copy to clipboard operation
node-copy-paste copied to clipboard

When xclip doesn't exist, sometimes .paste() returns an empty string instead of erroring

Open dbkaplun opened this issue 10 years ago • 2 comments

This happens around 30% of the time.

dbkaplun avatar Mar 28 '15 02:03 dbkaplun

Assuming you're using the async version of paste?

xavi- avatar Apr 22 '15 04:04 xavi-

Yes I am. Bluebird's Promise.promisifyAll is adding the .pasteAsync method.

dbkaplun avatar Apr 22 '15 13:04 dbkaplun