Skip to content

Commit eef1a55

Browse files
committed
Remove --preserve-symlink and npm link detection
This is old and untested. I don't know if it's still relevant. We could always bring it back.
1 parent 000c42e commit eef1a55

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/fork.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
'use strict';
22
const {Worker} = require('worker_threads');
33
const childProcess = require('child_process');
4-
const fs = require('fs');
54
const Emittery = require('emittery');
65
const {controlFlow} = require('./ipc-flow-control');
76

8-
if (fs.realpathSync(__filename) !== __filename) {
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`.');
10-
}
11-
127
const WORKER_PATH = require.resolve('./worker/base.js');
138

149
class SharedWorkerChannel extends Emittery {

0 commit comments

Comments
 (0)