fix:match to full string (#6272)

This commit is contained in:
Sid
2025-12-02 17:54:53 +05:30
committed by GitHub
parent ee4c923bc5
commit 9bbcf7ecbe

View File

@@ -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: '',