Skip to content

Commit

Permalink
docs(types): fix match option accept null/false
Browse files Browse the repository at this point in the history
Fix #20

Add `null` and `false` possible values to `match` option, in order to prevent any `--match` flag or the `git-describe` command.

Correctly handled by JS code (see #20)
  • Loading branch information
bobo96run authored Sep 13, 2021
1 parent 22efe9f commit 9174ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type GitDescribeOptions = {
long?: boolean;
longSemver?: boolean;
requireAnnotated?: boolean;
match?: string;
match?: null | false | string;
customArguments?: Array<string>;
};

Expand Down

0 comments on commit 9174ecc

Please sign in to comment.