Skip to content

Commit

Permalink
feat: return import result from dry run (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
stropitek authored and targos committed Sep 28, 2018
1 parent a208eee commit 02b8f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/import/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports.import = async function (database, importName, filePath, options = {}) {
// Check that required properties have been set on the result
result.check();
if (dryRun) {
return { skip: 'dryRun' };
return { skip: 'dryRun', result };
}
await saveResult(baseImport, result);
return { ok: true };
Expand Down

0 comments on commit 02b8f18

Please sign in to comment.