Skip to content

Commit

Permalink
remove strict check for branch in curated json
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Nov 25, 2024
1 parent 4c72012 commit b1fd6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curated-extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ExternalExtension } from "./types";
import extensions from "./extensions.json";

const CURATED_EXTENSIONS = extensions.reduce<Record<string, ExternalExtension>>((acc, ext) => {
if (!ext.branch || !ext.repository || !ext.description) {
if (!ext.repository) {
throw new Error(`Extension missing required fields: ${JSON.stringify(ext)}`);
}

Expand Down

0 comments on commit b1fd6d4

Please sign in to comment.