Commit 72c95dc9 by sikang

bug fix

parent b226cccc
......@@ -18,7 +18,7 @@ def close_sdk(path, sdk):
java_mark ="//SDK-" + sdk + "-CODE ->";
xml_mark ="<!--SDK-" + sdk + "-CODE//";
if path.endswith(".java") or path.endswith(".gradle") and is_sdk_code and java_mark not in line:
if (path.endswith(".java") or path.endswith(".gradle")) and is_sdk_code and java_mark not in line:
line = java_mark + line
if path.endswith(".xml") and is_sdk_code and xml_mark not in line:
......
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