Skip to content

Running spago init twice overwrites packages.dhall #318

@menelaos

Description

@menelaos

Steps to reproduce:

  1. spago init
  2. Modify packages.dhall
  3. spago init

The second spago init overwrites the modified packages.dhall file.
It looks like the bug was introduced in this PR (changing die to echo in makePackageSetFile).

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