(options: string[], inputFilename: string, cacheDir: string)
| 82 | } |
| 83 | |
| 84 | getCacheFile(options: string[], inputFilename: string, cacheDir: string) { |
| 85 | const commandsInOptions = _.intersection(options, NimCommands); |
| 86 | if (commandsInOptions.length === 0) return null; |
| 87 | const command = commandsInOptions[0]; |
| 88 | const extension = this.expectedExtensionFromCommand(command); |
| 89 | if (!extension) return null; |
| 90 | const moduleName = path.basename(inputFilename); |
| 91 | const resultName = '@m' + moduleName + extension; |
| 92 | return path.join(cacheDir, resultName); |
| 93 | } |
| 94 | |
| 95 | override async postProcess( |
| 96 | result: CompilationResult, |
no test coverage detected