Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write config file on register #15

Closed
wants to merge 3 commits into from
Closed

Conversation

yadomi
Copy link

@yadomi yadomi commented Sep 21, 2016

No description provided.

@@ -16,7 +16,7 @@
},
"dependencies": {
"posix-getopt": "~1.0.0",
"hue.js": "https://github.com/bahamas10/hue.js/tarball/dave-1432672068",
"hue.js": "https://github.com/mattbucci/hue.js/tarball/master",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my changes have been merged to "hue.js": "https://github.com/bahamas10/hue.js/tarball/master", as well now.

Looks like we have some redundant work but it seems 👍 that they're roughly the same

if (err) {
console.error('failed to pair to Hue Base Station %s', config.host);
throw err;
process.exit(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this preferred over throwing an exception? sorry I'm new to node.

@yadomi yadomi closed this Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants