docs(clipboard): fix an issue of demo code (#37438)

doc(clipboard): fix an issue of demo code
This commit is contained in:
Kevin Law 2023-03-02 19:24:59 +08:00 committed by GitHub
parent c3f06ef037
commit 692876c737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ clipboard.writeBuffer('public/utf8-plain-text', buffer)
const ret = clipboard.readBuffer('public/utf8-plain-text')
console.log(buffer.equals(out))
console.log(buffer.equals(ret))
// true
```