mirror of https://github.com/grpc/grpc-node.git
Skip test properly on older versions
This commit is contained in:
parent
71e5cb9c4f
commit
d329387c8f
|
@ -72,6 +72,9 @@ const runTests = () => {
|
|||
const testGeneratorGolden = () => {
|
||||
if (semver.satisfies(process.version, ">=10")) {
|
||||
return execNpmCommand('validate-golden');
|
||||
} else {
|
||||
console.log(`Skipping generator test for Node ${process.version}`);
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue