Compare commits
3 Commits
c1c16cdfe0
...
v1.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 6843316518 | |||
| b393e09274 | |||
| 84521c5130 |
12
.drone.yml
12
.drone.yml
@@ -7,3 +7,15 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn run build
|
- yarn run build
|
||||||
|
- name: publish
|
||||||
|
image: plugins/npm
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: NPM_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: NPM_PASSWORD
|
||||||
|
email:
|
||||||
|
from_secret: NPM_EMAIL
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-teamspeak",
|
"name": "node-red-contrib-teamspeak",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Node-RED teamspeak node",
|
"description": "Node-RED teamspeak node",
|
||||||
"main": "dist/nodes/TS3Config/TS3Config.js",
|
"main": "dist/nodes/TS3Config/TS3Config.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
|||||||
if (typeof member === "function"){
|
if (typeof member === "function"){
|
||||||
let args: any[] = []
|
let args: any[] = []
|
||||||
|
|
||||||
if (msg.payload instanceof Array){
|
if (Array.isArray(msg.payload)){
|
||||||
args = msg.payload
|
args = msg.payload
|
||||||
}else{
|
}else{
|
||||||
args = [msg.payload]
|
args = [msg.payload]
|
||||||
|
|||||||
Reference in New Issue
Block a user