Skip to content

Commit 8766f6d

Browse files
committed
Fix for projects with brackets in their path (#429)
1 parent bb5993d commit 8766f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vscode-tailwindcss/src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export async function activate(context: ExtensionContext) {
243243
documentSelector: languages.get(folder.uri.toString()).map((language) => ({
244244
scheme: 'file',
245245
language,
246-
pattern: `${folder.uri.fsPath}/**/*`,
246+
pattern: `${folder.uri.fsPath.replace(/[\[\]\{\}]/g, '?')}/**/*`,
247247
})),
248248
diagnosticCollectionName: CLIENT_ID,
249249
workspaceFolder: folder,

0 commit comments

Comments
 (0)