-
Notifications
You must be signed in to change notification settings - Fork 4
Config Files Being Overwritten #570
Copy link
Copy link
Open
Labels
RefactorCode that needs revision/refactoringCode that needs revision/refactoringbugSomething isn't workingSomething isn't workingpythonPull requests that update Python codePull requests that update Python code
Metadata
Metadata
Assignees
Labels
RefactorCode that needs revision/refactoringCode that needs revision/refactoringbugSomething isn't workingSomething isn't workingpythonPull requests that update Python codePull requests that update Python code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Problem: Precommit config file is overwritten in certain circumstances when running
secureli initTo reproduce
secureli init.secureli/.pre-commit-config.yaml.secureli/.pre-commit-config.yamlsecureli init.secureli/.pre-commit-config.yamlhas now been reset back to the default valueThe solution I came up with is to add a new flag for
initwhich prevents overwriting of the precommit config:secureli init --preserve-precommit-config