summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-05 00:35:05 +0800
committerruki <[email protected]>2022-10-05 00:35:05 +0800
commitbfb1168579f225fbf467891f3617b73f65075b58 (patch)
tree0304a707d3cb330b2c7bc122e81da3d998da14e4
parent6d958649bc0753825839cbcdb0d53aa87fe61dc2 (diff)
remove whitespace
-rw-r--r--xmake/modules/detect/sdks/find_c51.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/detect/sdks/find_c51.lua b/xmake/modules/detect/sdks/find_c51.lua
index 53354e2bf..ad761c0bb 100644
--- a/xmake/modules/detect/sdks/find_c51.lua
+++ b/xmake/modules/detect/sdks/find_c51.lua
@@ -17,7 +17,7 @@
--
-- @author DawnMagnet
-- @file find_c51.lua
---
+--
-- imports
import("lib.detect.find_path")
@@ -96,12 +96,12 @@ function main(sdkdir, opt)
-- attempt to load cache first
local key = "detect.sdks.find_c51"
-
+
local cacheinfo = detectcache:get(key) or {}
if not opt.force and cacheinfo.c51 and cacheinfo.c51.sdkdir and os.isdir(cacheinfo.c51.sdkdir) then
return cacheinfo.c51
end
-
+
-- find c51
local c51 = _find_c51(sdkdir or config.get("sdk"))
if c51 then
@@ -119,4 +119,4 @@ function main(sdkdir, opt)
detectcache:set(key, cacheinfo)
detectcache:save()
return c51
-end \ No newline at end of file
+end