Open FlorianDufour opened 3 years ago
Hello,
I got a warning on Atom 1.56.0. I give you for feature improvement of the code.
Use require("electron").clipboard instead of require("clipboard")
require("electron").clipboard
require("clipboard")
Object.<anonymous> (G:\Users\devfl\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\clipboard.js:4:6) Object.<anonymous> (G:\Users\devfl\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\clipboard.js:11:3) Module._compile (G:\Users\devfl\AppData\Local\atom\app-1.56.0\resources\app.asar\src\native-compile-cache.js:120:30) Object..js (G:\Users\devfl\AppData\Local\atom\app-1.56.0\resources\app.asar\src\compile-cache.js:255:23) Module.load (internal/modules/cjs/loader.js:815:32) Module._load (internal/modules/cjs/loader.js:727:14)
Hello,
I got a warning on Atom 1.56.0. I give you for feature improvement of the code.
Use
require("electron").clipboard
instead ofrequire("clipboard")