Skip to content

Commit b1454e9

Browse files
author
rootware
committed
renamed deploy to cd
working redaction logics without adding in -f switch. PyRedactKit can smartly detect if it's text or file!
1 parent 45e8ca5 commit b1454e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Automatically pull down the required versions of windows plugins
22
# and bundle them up for releases. This makes staging on non-internet
33
# connected systems easier.
4-
name: "DEPLOY"
4+
name: "CD"
55

66
on:
77
push:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pyredactkit"
7-
version = "0.3.7"
7+
version = "0.3.8"
88
description = "Python cli tool to redact sensitive data"
99
authors = ["brootware <[email protected]>"]
1010
license = "GPL-3.0-or-later"

pyredactkit/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def arg_helper() -> argparse.Namespace:
104104

105105

106106
def is_it_text(file_path: str) -> bool:
107-
return not os.path.isfile(file_path) or not os.path.isdir(file_path)
107+
return os.path.isfile(file_path) or os.path.isdir(file_path)
108108

109109

110110
def recursive_file_search(full_path: str, extension: str, recursive: bool) -> set:

0 commit comments

Comments
 (0)