mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-31 18:57:17 +07:00
Quote ini values with equal sign
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -1172,7 +1172,8 @@ async function CSVArray(values_csv) {
|
||||
return value
|
||||
.trim()
|
||||
.replace(/^["']|["']$|(?<==)["']/g, '')
|
||||
.replace(/=(((?!E_).)*[?{}|&~![()^]+((?!E_).)+)/, "='$1'");
|
||||
.replace(/=(((?!E_).)*[?{}|&~![()^]+((?!E_).)+)/, "='$1'")
|
||||
.replace(/=(.*?)(=.*)/, "='$1$2'");
|
||||
})
|
||||
.filter(Boolean);
|
||||
}
|
||||
|
Reference in New Issue
Block a user