Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire committed Dec 16, 2024
1 parent e1b02a0 commit e0e61a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/insomnia/src/templating/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,6 @@ export interface nunjucksTagContextMenuOptions extends Exclude<ReturnType<typeof

export const responseTagRegex = new RegExp('{% *response *.* %}');

export function sanitizeStrForWin32(path: string) {
return path.replace(/\\/g, '\\\\\\\\');
export function sanitizeStrForWin32(str: string) {
return str.replace(/\\/g, '\\\\\\\\');
}

0 comments on commit e0e61a4

Please sign in to comment.