Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

[email protected] init deletes existing readme when specifying no overwriting #1456

Closed
1 task
RobertoC27 opened this issue Nov 23, 2018 · 4 comments
Closed
1 task
Assignees
Labels

Comments

@RobertoC27
Copy link


Issue

Using truffle init in a folder that already contains a README.md file and choosing not to overwrite it results in the README file being deleted

Steps to Reproduce

  1. Create a new folder
  2. Create a README.md file
  3. execute truffle init inside your folder
  4. say no to overwriting README.md
  5. watch truffle finish the init process and the README file being deleted

Expected Behavior

Truffle not to delete de README file

Actual Results

What actually happened. Please give examples and support it with screenshots, copied output or error messages.
Folder with just the readme file
image
Folder after truffle init
image

Environment

  • Operating System: windows 10 pro

  • Truffle version (truffle version):Truffle v5.0.0-beta.1 (core: 5.0.0-beta.1)

  • node version (node --version):v8.11.4

  • npm version (npm --version): 5.6.0

@RobertoC27 RobertoC27 changed the title Truffle init deletes existing readme when saying no to overwriting [email protected] init deletes existing readme when saying no to overwriting Nov 23, 2018
@RobertoC27 RobertoC27 changed the title [email protected] init deletes existing readme when saying no to overwriting [email protected] init deletes existing readme when specifying no overwriting Nov 23, 2018
@eggplantzzz eggplantzzz self-assigned this Nov 26, 2018
@eggplantzzz
Copy link
Contributor

@RobertoC27 Thanks for bringing this issue up! We should have a fix for it soon.

@RobertoC27
Copy link
Author

No problem!

@stale
Copy link

stale bot commented Jan 27, 2019

Thank you for raising this issue! It has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you would like to keep this issue open, please respond with information about the current state of this problem.

@stale stale bot added the stale label Jan 27, 2019
@eggplantzzz
Copy link
Contributor

Closing this as it should be fixed in the most recent version of Truffle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants