diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index f43830f8..f62afccf 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -53,7 +53,7 @@ describe('Extension tests', () => { '7.4', 'linux' ); - expect(linux).toContain('update_extension xdebug 2.9.2'); + expect(linux).toContain('update_extension xdebug 2.9.3'); expect(linux).toContain('sudo $debconf_fix apt-get install -y php7.4-pcov'); expect(linux).toContain( 'sudo $debconf_fix apt-get install -y php7.4-sqlite3' diff --git a/dist/index.js b/dist/index.js index d180e338..363ec86f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2788,10 +2788,10 @@ async function addExtensionLinux(extension_csv, version, pipe) { ' ' + version; return; - // match 7.0xdebug..7.4xdebug - case /^7\.[0-4]xdebug$/.test(version_extension): + // match 7.1xdebug..7.4xdebug + case /^7\.[1-4]xdebug$/.test(version_extension): script += - '\nupdate_extension xdebug 2.9.2' + + '\nupdate_extension xdebug 2.9.3' + pipe + '\n' + (await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux')); diff --git a/src/extensions.ts b/src/extensions.ts index d15411d8..52b64e76 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -268,10 +268,10 @@ export async function addExtensionLinux( ' ' + version; return; - // match 7.0xdebug..7.4xdebug - case /^7\.[0-4]xdebug$/.test(version_extension): + // match 7.1xdebug..7.4xdebug + case /^7\.[1-4]xdebug$/.test(version_extension): script += - '\nupdate_extension xdebug 2.9.2' + + '\nupdate_extension xdebug 2.9.3' + pipe + '\n' + (await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux'));