Skip to content

Commit 53d093b

Browse files
committed
fix missed value and style
1 parent 783314c commit 53d093b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: |
9393
banner="$(python -m credsweeper --banner | head -1)"
9494
echo "banner = '${banner}'"
95-
if [ "CredSweeper 1.14.3 crc32:a87cf6f3" != "${banner}" ]; then
95+
if [ "CredSweeper 1.14.3 crc32:e5cd2d86" != "${banner}" ]; then
9696
echo "Update the check for '${banner}'"
9797
exit 1
9898
fi

credsweeper/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from credsweeper.logger.logger import Logger
2121
from credsweeper.utils.util import Util
2222

23-
EXIT_SUCCESS = os.EX_OK
23+
EXIT_SUCCESS = 0
2424
EXIT_FAILURE = 1
2525

2626
logger = logging.getLogger(__name__)

tests/deep_scanner/test_mxfile_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ def test_match_n(self):
1414
MxfileScanner.match(1)
1515

1616
def test_match_p(self):
17-
self.assertTrue(MxfileScanner.match(b"<mxfile atr=0><table></table></mxfile>"))
17+
self.assertTrue(MxfileScanner.match(b"<mxfile atr=0><table></table></mxfile>"))

0 commit comments

Comments
 (0)