Skip to content

Commit 9b08b8d

Browse files
committed
self cr
1 parent e7bf9dc commit 9b08b8d

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

flagsmith-jira-app/src/frontend/components/IssueFeaturesPanel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ const IssueFeaturesPanel = ({ setError }: WrappableComponentProps): JSX.Element
6060
}, [extension?.isNewToIssue, canEdit]);
6161

6262
// get environments from Flagsmith API
63-
// TODO: Do we need to handle multiple environments? I think probably not
6463
const [environments] = usePromise(
6564
async () => {
6665
try {

flagsmith-jira-app/src/frontend/jira.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ export const readProjectIds = async (extension: ExtensionData): Promise<string[]
100100
return stored; // Already an array, perfect
101101
}
102102

103-
// Optional: runtime safeguard
104103
throw new Error(`Unexpected type for projectIds: ${typeof stored}`);
105104
};
106105

flagsmith-jira-app/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ resolver
100100
if (!projectIds || projectIds.length === 0) return false;
101101
const availableProjects = await readProjects({});
102102
const availableProjectIds = new Set(availableProjects.map((project) => String(project.id)));
103-
// Ensure *every* projectId is valid
104103
return projectIds.every((id: string) => availableProjectIds.has(id));
105104
})
106105
.then(() => readFeatures({ projectIds, environmentId }))

0 commit comments

Comments
 (0)