Skip to content

Commit

Permalink
Merge branch 'main' into feature/secureli-320-dont-exclude-six
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtonn authored Nov 2, 2023
2 parents a4cdfe0 + 4b77d27 commit 60b0dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions secureli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def init(
"""
SecureliConfig.FOLDER_PATH = Path(directory)
container.initializer_action().initialize_repo(Path(directory), reset, yes)
update()


@app.command()
Expand Down
2 changes: 1 addition & 1 deletion secureli/services/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def update_hooks(
output = "No changes necessary.\n"

if update_result.successful and update_result.output:
prune_result = self.pre_commit.remove_unused_hooks()
prune_result = self.pre_commit.remove_unused_hooks(folder_path)
output = output + "\nRemoving unused environments:\n" + prune_result.output

return UpdateResult(successful=update_result.successful, output=output)
Expand Down

0 comments on commit 60b0dbf

Please sign in to comment.