Commit b97a22a
committed
fix: check/initialize before modifying .rsdk.json
Otherwise jq will throw an error when .rsdk.json does not exist:
```
vscode ➜ /workspaces/rsdk (main) $ rsdk config infra.organizations.package CodeChenL
jq: error: Could not open file .rsdk.json: No such file or directory
```
Signed-off-by: Jiali Chen <chenjiali@radxa.com>1 parent 1cc820a commit b97a22a
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments