We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed04f96 commit 10239d9Copy full SHA for 10239d9
1 file changed
packages/vscode-extension/src/packager.ts
@@ -138,7 +138,8 @@ export default class Packager {
138
const fileOrDir = await fs.promises.stat(filename);
139
const name = filename.replace(this.#projectRoot, '');
140
if (fileOrDir.isFile()) {
141
- if (name === '/package.json') {
+ const packageJsonName = process.platform === 'win32' ? '\\package.json' : '/package.json';
142
+ if (name === packageJsonName) {
143
// append the package.json.
144
this.#outArchive.append(
145
JSON.stringify(
0 commit comments