Skip to content

go build -out-dir $(pwd) will delete your working directory #74

Open
@llimllib

Description

Right now the first step in the build process is to delete everything in whatever directory you give it for an output directory, this is probably a footgun:

pushup/main.go

Line 303 in 7b9ec07

if err := os.RemoveAll(b.outDir); err != nil {

Is there any reason to delete files other than ones that conflict with what pushup is building?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions