-
Notifications
You must be signed in to change notification settings - Fork 3
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
Description
Problem: Precommit config file is overwritten in certain circumstances when running secureli init
To reproduce
- Make a new git repo with a JS file
- Run
secureli init - Modify
.secureli/.pre-commit-config.yaml - Commit
.secureli/.pre-commit-config.yaml - Check out repo into a new directory
- Run
secureli init .secureli/.pre-commit-config.yamlhas now been reset back to the default value
The solution I came up with is to add a new flag for init which prevents overwriting of the precommit config: secureli init --preserve-precommit-config
Reactions are currently unavailable
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
Projects
Status
Done