Fix usage of linkSync

This commit is contained in:
murgatroid99 2019-04-24 17:44:49 -07:00
parent 4db3ee2331
commit 42d9658283
2 changed files with 4 additions and 2 deletions

View File

@ -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'}));

View File

@ -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');