testdriverai 4.0.16 → 4.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -17,7 +17,6 @@ const path = require('path');
|
|
|
17
17
|
const chalk = require('chalk')
|
|
18
18
|
const yaml = require('js-yaml');
|
|
19
19
|
const macScreenPerms = require('mac-screen-capture-permissions');
|
|
20
|
-
const clipboardy = require('clipboardy');
|
|
21
20
|
|
|
22
21
|
// local modules
|
|
23
22
|
const speak = require('./lib/speak');
|
|
@@ -752,7 +751,7 @@ const promptUser = () => {
|
|
|
752
751
|
// Case where it doesn't execute the command but pastes the clipboard content
|
|
753
752
|
if (rl.on) {
|
|
754
753
|
rl.on('paste', () => {
|
|
755
|
-
const clipboardContent = clipboardy.readSync();
|
|
754
|
+
const clipboardContent = require('clipboardy').readSync();
|
|
756
755
|
rl.write(clipboardContent);
|
|
757
756
|
});
|
|
758
757
|
}
|