Skip to content

Commit

Permalink
Update lib/compose/import-from-api-depot.cjs
Browse files Browse the repository at this point in the history
Co-authored-by: antoineludeau <[email protected]>
  • Loading branch information
fufeck and antoineludeau committed Jun 10, 2024
1 parent c1d207d commit 6265185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compose/import-from-api-depot.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const defaultProfile = '1.3-relax'
async function importFromApiDepot(revision) {
const revisionFile = await getRevisionFile(revision._id)

if (profiles[defaultProfile]) {
if (!profiles[defaultProfile]) {
throw new Error('Le profile du validateur n’existe pas')
}

Expand Down

0 comments on commit 6265185

Please sign in to comment.