fixes #306
This commit is contained in:
parent
1c88901938
commit
94d3d83934
1 changed files with 6 additions and 0 deletions
|
@ -616,6 +616,12 @@ export function validateManifest(manifest: Manifest): Manifest {
|
|||
}
|
||||
});
|
||||
|
||||
Object.keys((manifest.dependencies || {})).forEach(dep => {
|
||||
if (dep === 'vscode') {
|
||||
throw new Error(`You should not depend on 'vscode' in your 'dependencies'. Did you mean to add it to 'devDependencies'?`);
|
||||
}
|
||||
});
|
||||
|
||||
return manifest;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue