Skip to content

Commit

Permalink
Command-line scripting #45
Browse files Browse the repository at this point in the history
  • Loading branch information
dxdc committed Dec 27, 2020
1 parent b8c682a commit a8b34c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ BlindsHTTPAccessory.prototype.httpRequest = function (url, methods, callback) {
}.bind(this);

const startTimestamp = Date.now();
const cmdMatch = options.url.match(/(?:file:\/\/)(.*)/i);
const cmdMatch = options().url.match(/(?:file:\/\/)(.*)/i);

// handling for file
if (cmdMatch !== null) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-blinds",
"version": "1.3.23-beta.0",
"version": "1.3.23-beta.1",
"description": "A homebridge plugin to control my blinds",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a8b34c7

Please sign in to comment.