File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tailwindcss-language-server/src Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import { URI } from 'vscode-uri'
41
41
import normalizePath from 'normalize-path'
42
42
import * as path from 'node:path'
43
43
import * as fs from 'node:fs/promises'
44
+ import * as fsSync from 'node:fs'
44
45
import type * as chokidar from 'chokidar'
45
46
import picomatch from 'picomatch'
46
47
import * as parcel from './watcher/index.js'
@@ -188,7 +189,8 @@ export class TW {
188
189
let base = baseUri . fsPath
189
190
190
191
try {
191
- await fs . access ( base , fs . constants . F_OK | fs . constants . R_OK )
192
+ // TODO: Change this to fs.constants after the node version bump
193
+ await fs . access ( base , fsSync . constants . F_OK | fsSync . constants . R_OK )
192
194
} catch ( err ) {
193
195
console . error (
194
196
`Unable to access the workspace folder [${ base } ]. This may happen if the directory does not exist or the current user does not have the necessary permissions to access it.` ,
Original file line number Diff line number Diff line change 8
8
- Ignore some build caches by default ([ #1336 ] ( https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1336 ) )
9
9
- Gracefully handle color parsing failures ([ #1363 ] ( https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1363 ) )
10
10
- Calculate swatches for HSL colors with angular units ([ #1360 ] ( https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1360 ) )
11
+ - Fix error when using VSCode < 1.78 ([ #1353 ] ( https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1353 ) )
11
12
- Don’t skip suggesting empty variant implementations ([ #1352 ] ( https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1352 ) )
12
13
13
14
# 0.14.16
You can’t perform that action at this time.
0 commit comments