Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Don't use ResourceManager #363

Closed
wants to merge 17 commits into from

Conversation

biohazard999
Copy link
Contributor

This fixes #362

@biohazard999 biohazard999 marked this pull request as ready for review December 11, 2019 10:42
laedit
laedit previously approved these changes Dec 11, 2019
Copy link
Member

@laedit laedit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this PR and welcome back, it is always nice to see you here! :)

CreateFile(@"Resources\Liquid\Post.liquid", directory, @"_layouts", "post.html");
CreateFile(@"Resources\Liquid\Index.liquid", directory, @"index.html");
CreateFile(@"Resources\Liquid\About.liquid", directory, @"about.md");
fileSystem.File.WriteAllText(Path.Combine(directory, @"_posts", string.Format("{0}-myfirstpost.md", DateTime.Today.ToString("yyyy-MM-dd"))), GetResourceString(@"Resources\Liquid\FirstPost.liquid"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can't use CreateFile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally overlooked that one, was irritated by the string.format

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed now.

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

Successfully merging this pull request may close these issues.

pretzel create is broken if used as global tool on netcoreapp3.0 runtime
2 participants