Skip to content
Permalink
Browse files

fix(smartAutocomplete): allow all (hopefully) file paths

  • Loading branch information
hiaux0 committed Jan 10, 2020
1 parent f4707ab commit 4c8aee316b6f148963097db7d7e8f01e0fcee8f6
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/client/main.ts
  2. +1 −1 src/server/FileParser/ProcessFiles.ts
@@ -65,7 +65,7 @@ class SearchDefinitionInViewV2 implements DefinitionProvider {

return {
...targetDef,
targetUri: Uri.parse(targetDef.targetUri)
targetUri: Uri.file(targetDef.targetUri)
}
}
}
@@ -23,7 +23,7 @@ export default class ProcessFiles {

public async processPath(): Promise<void> {

const sourceDirectory = Path.join(sys.getCurrentDirectory(), '/src/');
const sourceDirectory = sys.getCurrentDirectory();
const paths = sys.readDirectory(sourceDirectory, ['ts', 'js', 'html']);

for (let path of paths) {

0 comments on commit 4c8aee3

Please sign in to comment.
You can’t perform that action at this time.