Skip to content

Conversation

@Jandev
Copy link

@Jandev Jandev commented Jun 19, 2020

If you run adr-cli init on a folder which doesn't have the docs\adr folders, the application crashes.
That's because a file is being writing in this folder, but doesn't exist.

Added a small check to see if the folder exists, if not it will create it.

Updated the project to .NET Core 3.1 as I don't have .NET Core 1.1 installed (anymore) on my machine. Also did the same for #3 in order to create a self-contained application.

Also did some small cleaning up, like removing unused usings, using a new language feature and extracted 2 methods which write the files.

Jandev added 3 commits June 19, 2020 16:41
To get the application debuggable
Also Extracted Method for writing a file
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

Successfully merging this pull request may close these issues.

1 participant