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