Skip to content

Commit

Permalink
Fix error format
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBakerHytch committed Aug 29, 2019
1 parent b83f2fb commit df4c99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/EnvError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function formatReport(report: EnvErrorReport) {
const [key, { type, schemaValue, value }] = entry;
return formatError(key, type, schemaValue, value);
});
return `EnvError: Invalid or missing environment variables\n - ${errors.join('\n - ')}\n`;
return `Invalid or missing environment variables\n - ${errors.join('\n - ')}\n`;
}

function formatError(
Expand Down

0 comments on commit df4c99c

Please sign in to comment.