Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fscherwi committed Dec 28, 2017
1 parent abb8477 commit 67f8330
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tf-connected",
"version": "1.7.0",
"version": "1.7.1",
"description": "A Utility to show connected Bricks/Bricklets!",
"main": "./bin/command.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/connected.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function tfinit(HOST, PORT) {
ipcon = new Tinkerforge.IPConnection();
ipcon.connect(HOST, PORT,
function (error) {
error(error);
error_output(error);
process.exit();
}
);
Expand Down Expand Up @@ -39,7 +39,7 @@ function tfget(advanced) {
});
}
/* istanbul ignore next */
function error(code) {
function error_output(code) {
switch (code) {
case 11:
console.log('Error: ALREADY CONNECTED');
Expand Down

0 comments on commit 67f8330

Please sign in to comment.