mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-14 08:44:07 +07:00
Release v1-verbose
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -1023,10 +1023,10 @@ exports.getExtensionPrefix = getExtensionPrefix;
|
||||
async function suppressOutput(os_version) {
|
||||
switch (os_version) {
|
||||
case 'win32':
|
||||
return ' >$null 2>&1';
|
||||
return ' ';
|
||||
case 'linux':
|
||||
case 'darwin':
|
||||
return ' >/dev/null 2>&1';
|
||||
return ' ';
|
||||
default:
|
||||
return await log('Platform ' + os_version + ' is not supported', os_version, 'error');
|
||||
}
|
||||
|
Reference in New Issue
Block a user