Skip to content

Commit 8ab2468

Browse files
committed
refactor: no arrow function
1 parent 23cb657 commit 8ab2468

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/workspace.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { workspace } from "vscode";
22

3-
const getWorkspaceFolder = (): string => {
3+
export function getWorkspaceFolder(): string {
44
const { workspaceFolders } = workspace;
5+
console.log({ workspaceFolders })
6+
57
return workspaceFolders ? workspaceFolders[0].uri.fsPath : "";
68
};
7-
8-
export { getWorkspaceFolder };

0 commit comments

Comments
 (0)