Skip to content

Commit 6ce06bc

Browse files
committed
use json
1 parent d3f9920 commit 6ce06bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ jobs:
2929
with:
3030
script: |
3131
import os
32+
import json
33+
3234
for folder in os.listdir('src'):
3335
config = os.path.join('src', folder, 'devcontainer-feature.json')
3436
if not os.path.isfile(config):
3537
continue
3638
3739
with open(config, 'r') as f:
38-
data = f.read()
40+
data = json.load(f)
3941
if data.get('deprecated') is True:
4042
print(f"Skipping deprecated feature: {folder}")
4143
continue

0 commit comments

Comments
 (0)