mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Reapply fix for #50790
This commit is contained in:
parent
a8816968fe
commit
f7f2911e2b
|
@ -58,7 +58,7 @@ function getPrePostScripts(scripts: any): Set<string> {
|
|||
const script = keys[i];
|
||||
const prepost = ['pre' + script, 'post' + script];
|
||||
prepost.forEach(each => {
|
||||
if (scripts[each]) {
|
||||
if (scripts[each] !== undefined) {
|
||||
prePostScripts.add(each);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue