Skip to content

Commit

Permalink
inc files for virtual fs
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Oct 3, 2019
1 parent efbd5c5 commit 0f2d7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/FileSystemPovider/FileSystemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class FileSystemProvider implements vscode.FileSystemProvider {
const parent = await this._lookupAsDirectory(uri);
const sql = `CALL %Library.RoutineMgr_StudioOpenDialog(?,,,,,,0)`;
const folder = uri.path === "/" ? "/" : uri.path.replace(/\//g, ".") + "/";
const spec = folder.slice(1) + "*.cls,*.int,*.mac";
const spec = folder.slice(1) + "*.cls,*.inc,*.int,*.mac";
return api
.actionQuery(sql, [spec])
.then(data => data.result.content || [])
Expand Down

0 comments on commit 0f2d7b0

Please sign in to comment.