Skip to content

Commit 7edf966

Browse files
authored
Merge pull request #9 from G-Core/windows-build
fix: windows workspaces
2 parents a90d666 + 8385685 commit 7edf966

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/compiler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function compileActiveEditorsBinary(
3333
): Promise<BinaryInfo> {
3434
const activeFile =
3535
debugContext === "workspace"
36-
? vscode.workspace?.workspaceFolders?.[0].uri.fsPath + "/"
36+
? vscode.workspace?.workspaceFolders?.[0].uri.fsPath + path.sep
3737
: vscode.window.activeTextEditor?.document.uri.fsPath;
3838

3939
const activeFileLanguage = getActiveFileLanguage();

src/extension.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ export function activate(context: vscode.ExtensionContext) {
4040
const activeEditor = vscode.window.activeTextEditor;
4141
if (activeEditor) {
4242
const activeEditor = vscode.window.activeTextEditor;
43-
vscode.window.showInformationMessage(
44-
`activeEditor: ${activeEditor?.document.uri.fsPath}`
45-
);
4643
vscode.window.showInformationMessage("FastEdge: Running File");
4744
vscode.debug.startDebugging(undefined, {
4845
...getLaunchConfigurations(activeEditor?.document.uri),

0 commit comments

Comments
 (0)