fix: getMultilineInput trims whitespace
This commit is contained in:
1 parent
c26c8f526d
commit
21e32edf5f
2 files changed
+37
-10
No files matched your search
+5
-1
@@ -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())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user