Skip to content
2 changes: 2 additions & 0 deletions src/vs/base/node/osReleaseInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export async function getOSReleaseInfo(errorLogger: (error: string | Error) => v
return releaseInfo;
} catch (err) {
errorLogger(err);
} finally {
await handle.close();
}

return;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/common/viewLayout/viewLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export class ViewLayout extends Disposable implements IViewLayout {
if (maxLineWidth > layoutInfo.contentWidth + fontInfo.typicalHalfwidthCharacterWidth) {
// This is a case where viewport wrapping is on, but the line extends above the viewport
if (minimap.enabled && minimap.side === 'right') {
// We need to accomodate the scrollbar width
// We need to accommodate the scrollbar width
return maxLineWidth + layoutInfo.verticalScrollbarWidth;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/files/node/watcher/parcel/parcelWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ export class ParcelWatcher extends BaseWatcher implements IRecursiveWatcherWithS

protected restartWatching(watcher: ParcelWatcherInstance, delay = 800): void {

// Restart watcher delayed to accomodate for
// Restart watcher delayed to accommodate for
// changes on disk that have triggered the
// need for a restart in the first place.
const scheduler = new RunOnceScheduler(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/common/editor/editorGroupModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class EditorGroupModel extends Disposable implements IEditorGroupModel {
if (this.preview) {
const indexOfPreview = this.indexOf(this.preview);
if (targetIndex > indexOfPreview) {
targetIndex--; // accomodate for the fact that the preview editor closes
targetIndex--; // accommodate for the fact that the preview editor closes
}

this.replaceEditor(this.preview, newEditor, targetIndex, !makeActive);
Expand Down
Loading