Skip to content

Commit 79c3f4e

Browse files
py: format fixes
1 parent 1b03613 commit 79c3f4e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/api/writer-generator/typescript/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const generateProfileHelpersImport = (
236236
const canonicalUrl = flatProfile.identifier.url;
237237

238238
const imports: string[] = [];
239-
if (flatProfile.base.name === "Extension" && !!canonicalUrl && collectSubExtensionSlices(flatProfile).length > 0)
239+
if (flatProfile.base.name === "Extension" && canonicalUrl && collectSubExtensionSlices(flatProfile).length > 0)
240240
imports.push("isRawExtensionInput");
241241
if (canonicalUrl && hasMeta) imports.push("ensureProfile");
242242
if (sliceDefs.length > 0 || factoryInfo.sliceAutoFields.length > 0)

test/api/write-generator/python.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ describe("Python Writer Generator", async () => {
7676
expect(patientPy).toMatchSnapshot();
7777
});
7878
});
79-
});
79+
});

0 commit comments

Comments
 (0)