aboutsummaryrefslogtreecommitdiffstats
path: root/lclipd.lua
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-03-11 07:08:02 +0000
committerterminaldweller <thabogre@gmail.com>2023-03-11 07:08:02 +0000
commitdbf9a072d71263c1f9984dba3593fefc0ae0cd85 (patch)
tree3abd25a0e9710075734a1265d247d598ed79d71b /lclipd.lua
parentproperly escaped the string to pass to detect-secrets (diff)
downloadlclip-dbf9a072d71263c1f9984dba3593fefc0ae0cd85.tar.gz
lclip-dbf9a072d71263c1f9984dba3593fefc0ae0cd85.zip
fixed the docstring for detect-secrets
Diffstat (limited to 'lclipd.lua')
-rwxr-xr-xlclipd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lclipd.lua b/lclipd.lua
index 49a00bf..c27ce30 100755
--- a/lclipd.lua
+++ b/lclipd.lua
@@ -89,9 +89,9 @@ insert into lclipd(content,dateAdded) values('XXX', unixepoch());
]=]
local detect_secrets_cmd = [=[
-detect-secrets scan --string <<- STR
+detect-secrets scan --string <<- STR | grep -v False
XXX
-STR | grep -v False
+STR
]=]
local tmp_dir = "/tmp/lclipd"