mirror of https://github.com/grpc/grpc-node.git
Fix usage of linkSync
This commit is contained in:
parent
4db3ee2331
commit
42d9658283
|
@ -34,7 +34,10 @@ const runInstall = () => execa('npm', ['install', '--unsafe-perm'], {cwd: health
|
|||
|
||||
const install = gulp.series(cleanLinks, runInstall);
|
||||
|
||||
const linkAdd = () => linkSync(healthCheckDir, './node_modules/grpc', '../grpc-native-core');
|
||||
const linkAdd = (callback) => {
|
||||
linkSync(healthCheckDir, './node_modules/grpc', '../grpc-native-core');
|
||||
callback();
|
||||
}
|
||||
|
||||
const test = () => gulp.src(`${testDir}/*.js`).pipe(mocha({reporter: 'mocha-jenkins-reporter'}));
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ import * as execa from 'execa';
|
|||
import * as path from 'path';
|
||||
import * as del from 'del';
|
||||
import * as semver from 'semver';
|
||||
import {linkSync} from '../util';
|
||||
|
||||
const testDir = __dirname;
|
||||
const apiTestDir = path.resolve(testDir, 'api');
|
||||
|
|
Loading…
Reference in New Issue