You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/fork.js
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
'use strict';
2
2
const{Worker}=require('worker_threads');
3
3
constchildProcess=require('child_process');
4
-
constpath=require('path');
5
4
constfs=require('fs');
6
5
constEmittery=require('emittery');
7
6
const{controlFlow}=require('./ipc-flow-control');
@@ -10,9 +9,6 @@ if (fs.realpathSync(__filename) !== __filename) {
10
9
console.warn('WARNING: `npm link ava` and the `--preserve-symlink` flag are incompatible. We have detected that AVA is linked via `npm link`, and that you are using either an early version of Node 6, or the `--preserve-symlink` flag. This breaks AVA. You should upgrade to Node 6.2.0+, avoid the `--preserve-symlink` flag, or avoid using `npm link ava`.');
11
10
}
12
11
13
-
// In case the test file imports a different AVA install,
14
-
// the presence of this variable allows it to require this one instead
0 commit comments