Commit 4f283ad2 authored by Peter Müller's avatar Peter Müller
Browse files

Fixed missing variables

parent ec51852d
Pipeline #167 passed with stage
in 22 seconds
......@@ -51,7 +51,7 @@ module.exports = (env) ->
@bluetoothDevice = @config.bluetoothDevice or 'hci0'
@bluetoothSudo = if @config.bluetoothUseSudo then 'sudo' else ''
@bluetoothSudo = if @config.bluetoothUseSudo then 'sudo ' else ''
@pingTimeout = @config.pingTimeout or 2
......@@ -112,7 +112,7 @@ module.exports = (env) ->
# check the bluetooth MAC addresses
for mac in @config.bluetoothMacAddresses
do (@id, mac, @needAll, @bluetoothDevice) ->
do (@id, mac, @needAll, @bluetoothDevice, @bluetoothSudo, @pingTimeout) ->
promise = promise.then( =>
# no need to do other checks if all ips needed and already one is not found
# or no need to do other checks if not all ips needed and already one is found
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment