Skip to content

Commit

Permalink
Fix typo (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
tu4mo authored Mar 20, 2021
1 parent 62751b5 commit 27aac33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function getEditValue(flags: CliFlags) {
if (flags.env) {
if (!(flags.env in process.env)) {
throw new Error(
`Recieved '${flags.env}' as value for -E | --env, but environment variable '${flags.env}' is not available globally`
`Received '${flags.env}' as value for -E | --env, but environment variable '${flags.env}' is not available globally`
);
}
return process.env[flags.env];
Expand Down

0 comments on commit 27aac33

Please sign in to comment.