From c856f4c344360feddc95e8a99d1c2915b4d28373 Mon Sep 17 00:00:00 2001 From: Richard Koshak Date: Thu, 23 Feb 2023 13:17:34 -0700 Subject: [PATCH] Fixed bug in version checking Signed-off-by: Richard Koshak --- helpers.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers.js b/helpers.js index feec93b..f610936 100644 --- a/helpers.js +++ b/helpers.js @@ -1,4 +1,5 @@ const { actions, time, utils } = require('openhab'); +const VERSION = require('./package.json').version; /** * Utility function to create a named timer. diff --git a/package.json b/package.json index 575e971..94d4c8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openhab_rules_tools", - "version": "2.0.0", + "version": "2.0.1", "description": "Functions and classes to make writing openHAB rules in JS Scripting easier.", "private": false, "license": "EPL-2.0",