Skip to content

Commit 7981945

Browse files
committed
fix(cmdline): fix teams and nodes options
1 parent 7773811 commit 7981945

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

index.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ program
6464

6565
console.info(
6666
chalk.blueBright(
67-
"Taskforce Connector v" + version + " - (c) 2017-2021 Taskforce.sh Inc."
67+
"Taskforce Connector v" + version + " - (c) 2017-2023 Taskforce.sh Inc."
6868
)
6969
);
7070

@@ -111,14 +111,10 @@ lastestVersion(name).then(function (newestVersion) {
111111
};
112112

113113
const { Socket } = require("./dist/socket");
114-
Socket(
115-
program.name,
116-
program.backend,
117-
program.token,
118-
connection,
119-
program.team,
120-
program.nodes
121-
);
114+
Socket(program.name, program.backend, program.token, connection, {
115+
team: program.team,
116+
nodes: program.nodes,
117+
});
122118
});
123119

124120
// Catch uncaught exceptions and unhandled rejections

0 commit comments

Comments
 (0)