mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix lint warning with anomalous backslash
This commit is contained in:
@ -189,7 +189,7 @@ def ConvertInotoCpp(env):
|
||||
# print includes, prototypes
|
||||
|
||||
# disable previous includes
|
||||
ino_contents = re_includes.sub("//\g<1>", ino_contents)
|
||||
ino_contents = re_includes.sub(r"//\1", ino_contents)
|
||||
|
||||
# create new temporary C++ valid file
|
||||
with open(cppfile, "w") as f:
|
||||
|
Reference in New Issue
Block a user