mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Show xdebug.mode=coverage log for Xdebug 3.0
This commit is contained in:
parent
1d50c4a8cd
commit
f64dddeeb4
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -3007,8 +3007,7 @@ const config = __importStar(__webpack_require__(641));
|
||||
async function addCoverageXdebug(extension, version, os_version, pipe) {
|
||||
const xdebug = (await extensions.addExtension(extension, version, os_version, true)) +
|
||||
pipe;
|
||||
const ini = (await config.addINIValues('xdebug.mode=coverage', os_version, true)) +
|
||||
pipe;
|
||||
const ini = await config.addINIValues('xdebug.mode=coverage', os_version, true);
|
||||
const log = await utils.addLog('$tick', extension, 'Xdebug enabled as coverage driver', os_version);
|
||||
switch (true) {
|
||||
case /^xdebug3$/.test(extension):
|
||||
|
@ -19,9 +19,11 @@ export async function addCoverageXdebug(
|
||||
const xdebug =
|
||||
(await extensions.addExtension(extension, version, os_version, true)) +
|
||||
pipe;
|
||||
const ini =
|
||||
(await config.addINIValues('xdebug.mode=coverage', os_version, true)) +
|
||||
pipe;
|
||||
const ini = await config.addINIValues(
|
||||
'xdebug.mode=coverage',
|
||||
os_version,
|
||||
true
|
||||
);
|
||||
const log = await utils.addLog(
|
||||
'$tick',
|
||||
extension,
|
||||
|
Loading…
Reference in New Issue
Block a user