mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 11:51:30 +00:00
fix:match to full string (#6272)
This commit is contained in:
@@ -131,7 +131,7 @@ export const brunoToPostman = (collection) => {
|
||||
}
|
||||
} else if (typeof obj === 'string') {
|
||||
obj.replace(pattern, (match) => {
|
||||
const varKey = match[0].replace(/{{|}}/g, '');
|
||||
const varKey = match.replace(/{{|}}/g, '');
|
||||
results.push({
|
||||
key: varKey,
|
||||
value: '',
|
||||
|
||||
Reference in New Issue
Block a user