Skip to content

Commit e5cb608

Browse files
lint
1 parent 0b116d4 commit e5cb608

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

transcrypt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,12 @@ _list_encrypted_files() {
176176
git ls-files -z | tr '\0' '\n' |
177177
git check-attr filter --stdin 2>/dev/null |
178178
{
179-
if [[ "$strict_context" == "true" ]]; then
180-
grep ": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}$" || true
181-
else
182-
grep ": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}.*$" || true
183-
fi; } |
179+
if [[ "$strict_context" == "true" ]]; then
180+
grep ": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}$" || true
181+
else
182+
grep ": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}.*$" || true
183+
fi;
184+
} |
184185
sed "s|: filter: crypt${CONTEXT_CRYPT_SUFFIX:-}.*||" |
185186
while read -r file; do eval "echo $file"; done
186187
}

0 commit comments

Comments
 (0)