Skip to content

Commit

Permalink
Adding error checking for bison verison.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Dec 20, 2023
1 parent 0c4fa2e commit 1ef26cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/php-wasm/compile/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const [majorPhpVersion, minorPhpVersion] = getArg('PHP_VERSION', false).split(
let bisonVersion = '3';

if (majorPhpVersion <= 7 && minorPhpVersion <= 3) {
// bisonVersion = '2.7';
bisonVersion = '2.7';
}

const sourceDir = path.dirname(new URL(import.meta.url).pathname);
Expand Down

0 comments on commit 1ef26cc

Please sign in to comment.