diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-04 01:02:37 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-04 01:02:37 +0200 |
| commit | f331d8dc9568d3db8dcaa9958250f6e6664548d3 (patch) | |
| tree | 5c291f08730678101ccb77945bf1a546b938d007 | |
| parent | 920e58a2d57f7999d55c43829ffcd28cfe6b6952 (diff) | |
Move rules to lib
| -rw-r--r-- | lib/rule_generator.js | 2 | ||||
| -rw-r--r-- | lib/rules/business.js (renamed from rules/business.js) | 0 | ||||
| -rw-r--r-- | lib/rules/curfew.js (renamed from rules/curfew.js) | 0 | ||||
| -rw-r--r-- | lib/rules/group.js (renamed from rules/group.js) | 0 |
4 files changed, 1 insertions, 1 deletions
diff --git a/lib/rule_generator.js b/lib/rule_generator.js index 407f763..742c915 100644 --- a/lib/rule_generator.js +++ b/lib/rule_generator.js @@ -18,7 +18,7 @@ const internals = { rules: null, currentIndex: 0, - kRulesDirectory: resolve(process.cwd(), 'rules'), + kRulesDirectory: resolve(__dirname, './rules'), async readRules() { diff --git a/rules/business.js b/lib/rules/business.js index bc12866..bc12866 100644 --- a/rules/business.js +++ b/lib/rules/business.js diff --git a/rules/curfew.js b/lib/rules/curfew.js index 9fc697f..9fc697f 100644 --- a/rules/curfew.js +++ b/lib/rules/curfew.js diff --git a/rules/group.js b/lib/rules/group.js index 909c378..909c378 100644 --- a/rules/group.js +++ b/lib/rules/group.js |