Skip to content

Commit 8d39030

Browse files
Check if file is rooted before adding adornment
1 parent 4f941d7 commit 8d39030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebCompilerVsix/Adornments/AdornmentProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private void CreateAdornments(ITextDocument document, IWpfTextView textView)
8080
{
8181
LogoAdornment highlighter = new LogoAdornment(textView, _isVisible, _initOpacity);
8282
}
83-
else
83+
else if (Path.IsPathRooted(fileName))
8484
{
8585
try
8686
{

0 commit comments

Comments
 (0)