(command: string, filePath: string)
| 16 | `"${value.replace(/"/g, '""')}"` |
| 17 | |
| 18 | const replaceFilePlaceholder = (command: string, filePath: string): string => { |
| 19 | if (command.includes('%f')) { |
| 20 | return command.replace(/%f/g, filePath) |
| 21 | } |
| 22 | if (command.includes('{file}')) { |
| 23 | return command.replace(/{file}/g, filePath) |
| 24 | } |
| 25 | return command |
| 26 | } |
| 27 | |
| 28 | const buildEditorCommands = ( |
| 29 | filePath: string, |
no outgoing calls
no test coverage detected