Skip to content

Commit

Permalink
ci: remove nodejs v12 exclusion logic from run custom checks
Browse files Browse the repository at this point in the history
Fixes hyperledger#1961

Signed-off-by: Youngone Lee <youngone.lee@accenture.com>
  • Loading branch information
Leeyoungone committed Apr 25, 2022
1 parent dda3f00 commit a5b0e7b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/custom-checks/run-custom-checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ export async function runCustomChecks(
let overallSuccess = true;
let overallErrors: string[] = [];

const [majorVersion] = version.split(".");
const nodeV12OrOlder = parseInt(majorVersion) <= 12;
if (nodeV12OrOlder) {
console.log(`${TAG} Checks skipped due to old NodeJS (v${version}) OK.`);
return;
}
console.log("${TAG} Current NodeJS version is v", version);

{
const [success, errors] = await checkOpenApiJsonSpecs({ argv, env });
Expand Down

0 comments on commit a5b0e7b

Please sign in to comment.