Skip to content

fix: check/initialize before modifying .rsdk.json#102

Merged
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
CodeChenL:fix_config
Sep 30, 2025
Merged

fix: check/initialize before modifying .rsdk.json#102
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
CodeChenL:fix_config

Conversation

@CodeChenL
Copy link
Contributor

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

@github-actions
Copy link
Contributor

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Copy link
Contributor

@RadxaYuntian RadxaYuntian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squash

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>
@RadxaYuntian RadxaYuntian merged commit 7539c16 into RadxaOS-SDK:main Sep 30, 2025
51 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants