Skip to content

Commit a890fa0

Browse files
committed
Fixes linting
1 parent 944d972 commit a890fa0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/services/codefixes/importFixes.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ namespace ts.codefix {
707707
const fromLocator = pnpApi.findPackageLocator(fromPath);
708708
const toLocator = pnpApi.findPackageLocator(toPath);
709709

710+
// eslint-disable-next-line no-null/no-null
710711
if (toLocator === null) {
711712
return false;
712713
}
@@ -720,7 +721,8 @@ namespace ts.codefix {
720721
function isImportablePath(fromPath: string, toPath: string, getCanonicalFileName: GetCanonicalFileName, globalCachePath?: string): boolean {
721722
if (isPnpAvailable()) {
722723
return isImportablePathPnp(fromPath, toPath);
723-
} else {
724+
}
725+
else {
724726
return isImportablePathNode(fromPath, toPath, getCanonicalFileName, globalCachePath);
725727
}
726728
}

0 commit comments

Comments
 (0)