mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] yarn format
This commit is contained in:
parent
4834c090f8
commit
5c1f949953
3 changed files with 6 additions and 8 deletions
|
@ -109,11 +109,9 @@ export class AstroPlugin implements CompletionsProvider, FoldingRangeProvider {
|
|||
|
||||
const tsFragment = await tsDoc.getFragment();
|
||||
const startRange: Range = Range.create(Position.create(0, 0), Position.create(0, 0));
|
||||
const links = defs.map(def => {
|
||||
const links = defs.map((def) => {
|
||||
const defFilePath = ensureRealFilePath(def.fileName);
|
||||
return LocationLink.create(
|
||||
pathToUrl(defFilePath), startRange, startRange
|
||||
);
|
||||
return LocationLink.create(pathToUrl(defFilePath), startRange, startRange);
|
||||
});
|
||||
|
||||
return links;
|
||||
|
|
Loading…
Reference in a new issue