(fileName string, libFile *LibFile, includeReason *FileIncludeReason)
| 189 | } |
| 190 | |
| 191 | func (p *fileLoader) addRootTask(fileName string, libFile *LibFile, includeReason *FileIncludeReason) { |
| 192 | absPath := tspath.GetNormalizedAbsolutePath(fileName, p.opts.Host.GetCurrentDirectory()) |
| 193 | if p.opts.Config.CompilerOptions().AllowNonTsExtensions.IsTrue() || tspath.HasExtension(absPath) { |
| 194 | p.rootTasks = append(p.rootTasks, &parseTask{ |
| 195 | normalizedFilePath: absPath, |
| 196 | libFile: libFile, |
| 197 | includeReason: includeReason, |
| 198 | }) |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | func (p *fileLoader) addRootFileTask(fileName string, libFile *LibFile, includeReason *FileIncludeReason) { |
| 203 | currDir := p.opts.Host.GetCurrentDirectory() |
no test coverage detected