File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export async function viewOthers(): Promise<void> {
21
21
const getOthers = ( info ) => {
22
22
return info . result . content [ 0 ] . others ;
23
23
} ;
24
- const api = new AtelierAPI ( ) ;
24
+ const api = new AtelierAPI ( file . uri ) ;
25
25
return api
26
26
. actionIndex ( [ file . name ] )
27
27
. then ( ( info ) => {
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export function currentFile(document?: vscode.TextDocument): CurrentFile {
84
84
const { query } = url . parse ( decodeURIComponent ( uri . toString ( ) ) , true ) ;
85
85
const csp = query . csp === "" || query . csp === "1" ;
86
86
if ( csp ) {
87
- name = fileName ;
87
+ name = fileName . replace ( "\\" , "/" ) ;
88
88
} else if ( fileExt === "cls" ) {
89
89
const match = content . match ( / ^ C l a s s ( % ? \w + (?: \. \w + ) + ) / im) ;
90
90
if ( match ) {
You can’t perform that action at this time.
0 commit comments