There was an error while loading. Please reload this page.
1 parent 2b94791 commit 311e10fCopy full SHA for 311e10f
platformio/debug/config/base.py
@@ -12,6 +12,7 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import json
16
import os
17
18
from platformio import fs, proc, util
@@ -238,4 +239,8 @@ def _replace(text):
238
239
elif isinstance(value, (list, dict)) and recursive:
240
source[key] = self.reveal_patterns(value, patterns)
241
242
+ data = json.dumps(source)
243
+ if any(("$" + key) in data for key in patterns):
244
+ source = self.reveal_patterns(source, patterns)
245
+
246
return source
0 commit comments