Skip to content

Layer breaker in environmentService.ts #140989

@alexdima

Description

@alexdima

/common/ code should not import /browser/ code. By convention vs/workbench/workbench.web.api is considered to be /browser/. Please consider extracting IWorkbenchConstructionOptions to /common/, or moving environmentService.ts to /browser/, or maybe moving IWorkbenchEnvironmentService.options to another service.

// TODO@layers
// eslint-disable-next-line code-import-patterns
import type { IWorkbenchConstructionOptions as IWorkbenchOptions } from 'vs/workbench/workbench.web.api';

This import came in via 92dafb3 .

(ref #140857 #140874)

Metadata

Metadata

Assignees

Labels

engineeringVS Code - Build / issue tracking / etc.insiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions