Skip to content

Commit

Permalink
feat(log): add gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 authored and evenstensberg committed Feb 5, 2019
1 parent df7c224 commit 7c830b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/log/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*.js
2 changes: 1 addition & 1 deletion packages/log/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Logger {

public custom(symbol: string, message: string) {
if (symbol.length !== 1) {
throw new Error("Only single character can be passed to custom");
throw new Error("Only single character can be passed as symbol to custom");
} else {
message = this.build(message);
message = ` ${chalk.bold(symbol)} ${message}`;
Expand Down

0 comments on commit 7c830b5

Please sign in to comment.