mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Correct path in debug configuration
This commit is contained in:
@ -65,7 +65,11 @@ def dump_defines(env):
|
|||||||
def dump_debug(env):
|
def dump_debug(env):
|
||||||
|
|
||||||
def _fix_path_sep(path):
|
def _fix_path_sep(path):
|
||||||
return path.replace("/", sep).replace("\\", sep)
|
result = []
|
||||||
|
items = path if isinstance(path, list) else [path]
|
||||||
|
for item in items:
|
||||||
|
result.append(item.replace("/", sep).replace("\\", sep))
|
||||||
|
return result if isinstance(path, list) else result[0]
|
||||||
|
|
||||||
def _dump_server(configuration):
|
def _dump_server(configuration):
|
||||||
if not configuration:
|
if not configuration:
|
||||||
|
Reference in New Issue
Block a user