feat: apply patch after setting up subtree
This commit is contained in:
@ -24,6 +24,9 @@ function processRoot() {
|
||||
rimraf.sync(filePath);
|
||||
}
|
||||
}
|
||||
|
||||
// Delete .bin so it doesn't contain broken symlinks that trip up nfpm.
|
||||
rimraf.sync(path.join(__dirname, 'node_modules', '.bin'));
|
||||
}
|
||||
|
||||
function processLib() {
|
||||
|
@ -6,6 +6,6 @@
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
export function isWeb(): boolean {
|
||||
// @ts-expect-error
|
||||
// NOTE@coder: Remove unused ts-expect-error directive which causes tsc to error.
|
||||
return typeof navigator !== 'undefined' && vscode.env.uiKind === vscode.UIKind.Web;
|
||||
}
|
||||
|
Reference in New Issue
Block a user