mirror of
https://github.com/kepler155c/opus
synced 2024-12-31 19:00:27 +00:00
lint warnings
This commit is contained in:
parent
ec7fc5bb23
commit
ae98aaf9d5
@ -8,9 +8,9 @@ local Util = require('opus.util')
|
||||
local _rep = string.rep
|
||||
local _sub = string.sub
|
||||
local colors = _G.colors
|
||||
local device = _G.device
|
||||
local fs = _G.fs
|
||||
local os = _G.os
|
||||
local peripheral = _G.peripheral
|
||||
local term = _G.term
|
||||
local textutils = _G.textutils
|
||||
|
||||
@ -178,7 +178,7 @@ function Manager:configure(appName, ...)
|
||||
if defaults.device.name == 'terminal' then
|
||||
dev = term.current()
|
||||
else
|
||||
dev = _G.device[defaults.device.name]
|
||||
dev = device[defaults.device.name]
|
||||
end
|
||||
|
||||
if not dev then
|
||||
|
Loading…
Reference in New Issue
Block a user