Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dat init discards existing dat.json values #1160

Open
gohai opened this issue Nov 4, 2019 · 1 comment
Open

dat init discards existing dat.json values #1160

gohai opened this issue Nov 4, 2019 · 1 comment

Comments

@gohai
Copy link

gohai commented Nov 4, 2019

Bug Report

  • Operating system: Linux (Fedora)
  • Node Version: v10.16.3
  • Dat Version: 13.13.1

Expected behavior

dat init should create a dat.json or, if it already exists, update selected properties (such as title and description) while keeping any previously set properties intact. (I am hoping to keep e.g. experimental intact for Beaker...)

Actual behavior

dat init discards all previously set properties in dat.json, creates a file that only has the title and description set.

Note

A similar issue was previously discussed in #148, but it seems the behavior has since changed (again?).

@okdistribute
Copy link
Collaborator

Hey, if you or someone you can recruit has time to open a PR fixing this, that would be welcome!

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

No branches or pull requests

2 participants