Skip to content

fix: resolve relative paths in kratos run command - #3852

Open
mahendrarathore1742 wants to merge 2 commits into
go-kratos:mainfrom
mahendrarathore1742:fix/kratos-run-relative-paths
Open

mahendrarathore1742 wants to merge 2 commits into
go-kratos:mainfrom
mahendrarathore1742:fix/kratos-run-relative-paths

Conversation

@mahendrarathore1742

Copy link
Copy Markdown
Contributor

Convert relative paths to absolute paths before using them as both command arguments and working directory. This prevents the path from being resolved twice, which caused 'package is not in std' errors.

Fixes #3850

Convert relative paths to absolute paths before using them as both
command arguments and working directory. This prevents the path from
being resolved twice, which caused 'package is not in std' errors.

Fixes go-kratos#3850
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kratos run fails with relative paths (package ... is not in std)

1 participant