diff --git a/__tests__/install.test.ts b/__tests__/install.test.ts index a537558a..8bccd293 100644 --- a/__tests__/install.test.ts +++ b/__tests__/install.test.ts @@ -26,12 +26,12 @@ jest.mock('../src/install', () => ({ if (extension_csv) { script += 'install extensions'; } - if (ini_values_csv) { - script += 'edit php.ini'; - } if (coverage_driver) { script += 'set coverage driver'; } + if (ini_values_csv) { + script += 'edit php.ini'; + } return script; } diff --git a/dist/index.js b/dist/index.js index bc509192..d51325bd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3263,12 +3263,12 @@ async function build(filename, version, os_version) { if (extension_csv) { script += await extensions.addExtension(extension_csv, version, os_version); } - if (ini_values_csv) { - script += await config.addINIValues(ini_values_csv, os_version); - } if (coverage_driver) { script += await coverage.addCoverage(coverage_driver, version, os_version); } + if (ini_values_csv) { + script += await config.addINIValues(ini_values_csv, os_version); + } return await utils.writeScript(filename, script); } exports.build = build; diff --git a/src/install.ts b/src/install.ts index 1500859d..839d34c9 100644 --- a/src/install.ts +++ b/src/install.ts @@ -41,12 +41,12 @@ export async function build( if (extension_csv) { script += await extensions.addExtension(extension_csv, version, os_version); } - if (ini_values_csv) { - script += await config.addINIValues(ini_values_csv, os_version); - } if (coverage_driver) { script += await coverage.addCoverage(coverage_driver, version, os_version); } + if (ini_values_csv) { + script += await config.addINIValues(ini_values_csv, os_version); + } return await utils.writeScript(filename, script); }