mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-06-16 13:18:43 +07:00
Release v2-verbose
This commit is contained in:
+2
-2
@@ -323,10 +323,10 @@ export async function getExtensionPrefix(extension: string): Promise<string> {
|
||||
export async function suppressOutput(os: string): Promise<string> {
|
||||
switch (os) {
|
||||
case 'win32':
|
||||
return ' >$null 2>&1';
|
||||
return ' ';
|
||||
case 'linux':
|
||||
case 'darwin':
|
||||
return ' >/dev/null 2>&1';
|
||||
return ' ';
|
||||
default:
|
||||
return await log('Platform ' + os + ' is not supported', os, 'error');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user