Skip to content

Commit

Permalink
Always set message
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Jan 11, 2019
1 parent 219583c commit e4b8b73
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Doc
}

/**
* Set class properties from a standard*
* Set class properties from a standard object
*
* @param {*} input
*/
Expand Down Expand Up @@ -101,9 +101,7 @@ export class Doc
extra = [];
}

if (this.message != '') {
messageString = "\${###" + (this.message != "" ? ':' : '') + this.message + "}";
}
messageString = "\${###" + (this.message != "" ? ':' : '') + this.message + "}";

if (this.params.length) {
paramString = "";
Expand Down Expand Up @@ -223,7 +221,7 @@ export class Doc
}

/**
* A simple paramter*
* A simple paramter object
*/
export class Param
{
Expand Down

0 comments on commit e4b8b73

Please sign in to comment.