mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Add missing semi-colons
This commit is contained in:
parent
a11aa0ff0c
commit
82439a50c1
|
@ -162,15 +162,15 @@ export function getShellIntegrationInjection(
|
|||
}
|
||||
case 'fish': {
|
||||
if (!originalArgs || originalArgs.length === 0) {
|
||||
newArgs = []
|
||||
newArgs = [];
|
||||
} else if (Array.isArray(originalArgs)) {
|
||||
newArgs = originalArgs
|
||||
newArgs = originalArgs;
|
||||
} else {
|
||||
newArgs = [originalArgs]
|
||||
newArgs = [originalArgs];
|
||||
}
|
||||
const oldDataDirs = env?.XDG_DATA_DIRS ?? '/usr/local/share:/usr/share'
|
||||
const newDataDir = path.join(appRoot, 'out/vs/workbench/contrib/xdg_data')
|
||||
envMixin['XDG_DATA_DIRS'] = `${oldDataDirs}:${newDataDir}`
|
||||
const oldDataDirs = env?.XDG_DATA_DIRS ?? '/usr/local/share:/usr/share';
|
||||
const newDataDir = path.join(appRoot, 'out/vs/workbench/contrib/xdg_data');
|
||||
envMixin['XDG_DATA_DIRS'] = `${oldDataDirs}:${newDataDir}`;
|
||||
return { newArgs, envMixin };
|
||||
}
|
||||
case 'pwsh': {
|
||||
|
|
Loading…
Reference in a new issue