Skip to content

cmd/gf: gen pb changes currect working #3894

@oldme-git

Description

@oldme-git

Go version

/

GoFrame version

/

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

gf gen pb 会更改当前工作路径,导致一些意外的情况出现

What did you see happen?

例如导致单测失败
https://github.com/gogf/gf/actions/runs/11513842473/job/32051852646

What did you expect to see?

gf gen pb 后回到当前路径

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions