Skip to content

Commit

Permalink
fix exit code for flat import
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiion committed Aug 8, 2024
1 parent b94d084 commit 6fd2df3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/edb-cli/src/flatImportHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const flatImportHandler = async ({
}) => {
const { typeName, mapping } = availableFlatMappings[mappingDeclaration];
let importCounter = 0;
csvToModel(
await csvToModel(
file,
typeName,
mapping,
Expand All @@ -42,4 +42,5 @@ export const flatImportHandler = async ({
amount,
offset,
);
process.exit(0);
};

0 comments on commit 6fd2df3

Please sign in to comment.