Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit c40577a

Browse files
committed
refactor: add log output on startup
1 parent 8b96af1 commit c40577a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function init(modules: { typescript: typeof ts_module }):
2626
}
2727

2828
function create(info: ts.server.PluginCreateInfo): ts.LanguageService {
29+
info.project.projectService.logger.info('Configuring patternplate resolver for typescript');
2930
const resolveModuleNames = info.languageServiceHost.resolveModuleNames;
3031
info.languageServiceHost.resolveModuleNames = function(moduleNames: string[], containingFile: string):
3132
ts_module.ResolvedModule[] {

0 commit comments

Comments
 (0)