mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-12 23:36:28 -05:00
Lint
This commit is contained in:
@@ -1229,7 +1229,7 @@ function ensureHasErrorsForState(state: BuilderProgramStateWithDefinedProgram) {
|
||||
|
||||
function ensurePackageJsonsForState(state: BuilderProgramStateWithDefinedProgram, host: BuilderProgramHost) {
|
||||
if (state.packageJsons !== undefined) return;
|
||||
let packageJsons: string[] = [];
|
||||
const packageJsons: string[] = [];
|
||||
if (state.program.getCompilerOptions().configFilePath) {
|
||||
const internalMap = state.program.getModuleResolutionCache()?.getPackageJsonInfoCache().getInternalMap();
|
||||
if (internalMap) {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import {
|
||||
AffectedFileResult,
|
||||
arrayFrom,
|
||||
assertType,
|
||||
BuilderProgram,
|
||||
BuildInfo,
|
||||
@@ -11,7 +10,6 @@ import {
|
||||
clearMap,
|
||||
closeFileWatcher,
|
||||
closeFileWatcherOf,
|
||||
combinePaths,
|
||||
commonOptionsWithBuild,
|
||||
CompilerHost,
|
||||
CompilerOptions,
|
||||
@@ -49,7 +47,6 @@ import {
|
||||
flattenDiagnosticMessageText,
|
||||
forEach,
|
||||
forEachEntry,
|
||||
forEachKey,
|
||||
ForegroundColorEscapeSequences,
|
||||
formatColorAndReset,
|
||||
getAllProjectOutputs,
|
||||
@@ -79,7 +76,6 @@ import {
|
||||
isIgnoredFileFromWildCardWatching,
|
||||
isIncrementalBuildInfo,
|
||||
isIncrementalCompilation,
|
||||
isPackageJsonInfo,
|
||||
isSolutionConfig,
|
||||
loadWithModeAwareCache,
|
||||
maybeBind,
|
||||
|
||||
Reference in New Issue
Block a user