Skip to content

Commit

Permalink
refactor: Fix code quality issue
Browse files Browse the repository at this point in the history
  • Loading branch information
j-ulrich committed Sep 11, 2024
1 parent 087e9c5 commit 64b5ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/runTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as os from 'os';
import chalk from 'chalk';

const nodeVersion = process.versions.node.split( /[.+-]/ ).map( section => {
const numericSection = parseInt( section );
const numericSection = parseInt( section, 10 );
if ( isNaN( numericSection ) || String( numericSection ) !== section ) {
return section;
}
Expand Down

0 comments on commit 64b5ad1

Please sign in to comment.