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

Add default recipe.cake command appends text to existing script #82

Open
AdmiringWorm opened this issue May 8, 2019 · 0 comments
Open

Comments

@AdmiringWorm
Copy link

Expected Behavior

I expected the command to either replace all the text in the existing recipe.cake script, or optimally ask to replace/append/ignore.

Current Behavior

When using the command, it always appends the the needed code after all existing text in the recipe.

Possible Solution

See expected behaviour.

Steps to Reproduce (for bugs)

  1. Add a recipe.cake file manually, with a little bit of code in it.
  2. Run the add recipe.cake command
  3. Look in the recipe.cake file and see that the new code got appended to the file.
  4. Bang head on keyboard 😄

Context

I just wanted to see what would happen.

Your Environment

  • Module version used: 0.5.0
  • Operating System and PowerShell version: Arch Linux (Powershell version is still not relevant)
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

1 participant