mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix project generator for CLion IDE // Resolve #422
This commit is contained in:
@ -76,7 +76,7 @@ class ProjectGenerator(object):
|
|||||||
output = result['out']
|
output = result['out']
|
||||||
start_index = output.index('{"')
|
start_index = output.index('{"')
|
||||||
stop_index = output.rindex('}')
|
stop_index = output.rindex('}')
|
||||||
data = json.loads(output[start_index + 1:stop_index + 1])
|
data = json.loads(output[start_index:stop_index + 1])
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user