Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit bd746f9

Browse files
committed
fix(extension): set correct storagePath for libraries/plugin
1 parent 32c2305 commit bd746f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ export let storagePath = '';
1919
export async function activate(context: ExtensionContext) {
2020
const game = workspace.getConfiguration('cfxlua').get('game', 'GTAV');
2121
const storageUri = context.globalStorageUri;
22-
const targetUri = Uri.joinPath(storageUri, 'cfxlua');
2322
const platform = os.platform();
24-
storagePath = targetUri.toString();
23+
storagePath = storageUri.toString();
2524

2625
if (platform === 'win32') {
2726
storagePath = path.join(

0 commit comments

Comments
 (0)