fix: getMultilineInput trims whitespace

This commit is contained in:
Takanori Oishi committed 2022-09-28 12:54:12 +09:00
1 parent c26c8f526d
commit 21e32edf5f
2 files changed
+37 -10

No files matched your search

+5 -1
View File
@@ -170,7 +170,11 @@ export function getMultilineInput(
.split('\n')
.filter(x => x !== '')
return inputs
if (options && options.trimWhitespace === false) {
return inputs
}
return inputs.map(input => input.trim())
}
/**