Skip to content

Commit b1f888b

Browse files
authored
Merge pull request #5 from phillipivan/main
Remove redundant config check
2 parents 8ed7952 + 3a08662 commit b1f888b

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Diff for: companion/HELP.md

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ No feedbacks are provided. The native Internal Variable Check Value feedback is
4545

4646
## Version History
4747

48+
### Version 1.0.3
49+
- Minor fixes
50+
4851
### Version 1.0.1
4952
- Better status updates
5053
- Minor fixes & typos

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "peavy-ratc",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"main": "src/main.js",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

Diff for: src/main.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,8 @@ class PEAVY_RATC extends InstanceBase {
1717
this.controlAliases = []
1818
}
1919
async init(config) {
20-
this.updateStatus('Starting')
20+
this.updateStatus(InstanceStatus.Connecting)
2121
this.config = config
22-
if (this.config.host === undefined || this.config.port === undefined) {
23-
this.log('error', 'Host or port undefined')
24-
this.updateStatus(InstanceStatus.BadConfig)
25-
return undefined
26-
}
2722
this.initVariables()
2823
this.startTimeOut()
2924
this.updateActions() // export actions

0 commit comments

Comments
 (0)