mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 08:36:19 +08:00
fix: code workspace path error
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
getPackages,
|
||||
gitAdd,
|
||||
prettierFormat,
|
||||
toPosixPath,
|
||||
} from '@vben/node-utils';
|
||||
|
||||
const CODE_WORKSPACE_FILE = join('vben-admin.code-workspace');
|
||||
@@ -29,7 +30,7 @@ async function createCodeWorkspace({
|
||||
const { dir, packageJson } = pkg;
|
||||
return {
|
||||
name: packageJson.name,
|
||||
path: relative(rootDir, dir),
|
||||
path: toPosixPath(relative(rootDir, dir)),
|
||||
};
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user