Skip to content

Commit 08f365a

Browse files
authored
Merge pull request #50 from aeschli/patch-1
Support workspace folders
2 parents e02768a + 54b9bc4 commit 08f365a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function parseRemoteConfig() {
144144

145145
export function activate(context: vsc.ExtensionContext) {
146146

147-
if (vsc.workspace.rootPath) {
147+
if (vsc.workspace.workspaceFolders) {
148148

149149
const remoteCssConfig = vsc.workspace.getConfiguration('css');
150150
const extensions = remoteCssConfig.get('fileExtensions') as string[];
@@ -216,4 +216,4 @@ export function activate(context: vsc.ExtensionContext) {
216216
}
217217

218218
export function deactivate() {
219-
}
219+
}

0 commit comments

Comments
 (0)