Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
fix(GA): Delete file from a list for GA
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisandra-dev committed Apr 10, 2022
1 parent f3edab1 commit 184c429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkdocs_obsidian/__main__.py
Expand Up @@ -268,7 +268,8 @@ def main():
sys.exit()
elif cmd == "clean":
configuration = setup.open_value(configuration_name, args.GA)
setup.git_pull(configuration, args.git)
if not args.git and not args.GA:
setup.git_pull(configuration, args.git)
keep(args.obsidian, console, configuration, args.GA)
if not args.git and not args.GA:
setup.git_push('clean all removed files', configuration, args.obsidian, rmv_info="Clean all removed files")
Expand Down
1 change: 1 addition & 0 deletions mkdocs_obsidian/common/file_checking.py
Expand Up @@ -95,6 +95,7 @@ def delete_not_exist(configuration, actions=False):
.replace("'", "")
.split(",")
)
VAULT_FILE = vault_file

for note in VAULT_FILE:
vault_file.append(os.path.basename(note))
Expand Down

0 comments on commit 184c429

Please sign in to comment.