Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
v0.0.18 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-bindra authored Feb 14, 2022
1 parent 7217fea commit dd8beb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lunartick",
"version": "0.0.17",
"name": "@ordermentum/lunartick",
"version": "0.0.18",
"description": "",
"main": "src/rule.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Parse {

handleFreq(arg) {
const value = constants.FREQUENCIES[arg];
if (!value) {
if (value === undefined) {
throw new Error(`Invalid value "${arg}" given for FREQ.`);
}

Expand Down

0 comments on commit dd8beb1

Please sign in to comment.