Conversation
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.0 to 1.7.1. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.7.0...v1.7.1) Signed-off-by: dependabot[bot] <support@github.com>
…/spf13/viper-1.7.1' into add-template-engine
Template engine type is now visible from outside the package and the CreateFilesInProjectFolder function now belongs it.
Project replacement was buggy. It was triggered when the root folder of the project already exists and when a project was already assigned to this path in the database. Additionally the replacement didn't work even when triggered correctly. First of all this shouldn't trigger at all when the folder already exists, for safety purposes it should just skip the project creation and print a warning that the folder already exists. This is so that folders are not overwritten by accident. And secondly when the folder creation was successful but a project was already assigned to this path in database and the user wanted to replace the assigned project with the freshly created one it would fail because 'suddenly' the project folder already exists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a template engine which enables
projito create files from templates with dynamic content. We're using fasttemplate as core engine for our templates.Proposed Changes
Resolved Issues
Closes #131