From b2fbf43837c8b62026808688ad587769874d454d Mon Sep 17 00:00:00 2001 From: sugood <15820258199@163.com> Date: Fri, 13 Nov 2020 16:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9BBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 58 ++++++++++++++++++++++----------------------- modules/commons.lua | 4 ++-- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c97b7c2..85242c0 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + - isEm - webview console.clearConsole() menubar config @@ -160,6 +158,8 @@ listenerEvent config.json greyby + destinationfile + sourcefile self.menubar @@ -200,12 +200,12 @@ @@ -250,7 +250,7 @@ - + @@ -420,12 +420,12 @@ - + - @@ -725,14 +725,6 @@ - - - - - - - - @@ -773,14 +765,6 @@ - - - - - - - - @@ -803,6 +787,22 @@ + + + + + + + + + + + + + + + + diff --git a/modules/commons.lua b/modules/commons.lua index 472f333..6a07215 100644 --- a/modules/commons.lua +++ b/modules/commons.lua @@ -19,8 +19,8 @@ end --复制文件 function copyFile(source,destination) print(destination) - sourcefile = io.open(source, "r") - destinationfile = io.open(destination, "w") + local sourcefile = io.open(source, "r") + local destinationfile = io.open(destination, "w") destinationfile:write(sourcefile:read("*all")) sourcefile:close() destinationfile:close()