Skip to content

Commit 346c413

Browse files
committed
Fix RuboCop style error: remove redundant escape in regex
1 parent 4041006 commit 346c413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/homebrew/mfc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def install
118118
fi
119119
120120
# Smart detection: if first arg looks like a case file, auto-prepend "run"
121-
if [[ "${SUBCMD}" =~ \.py$ ]] || [[ -f "${SUBCMD}" ]]; then
121+
if [[ "${SUBCMD}" =~ .py$ ]] || [[ -f "${SUBCMD}" ]]; then
122122
ARGS=("run" "${ARGS[@]}")
123123
SUBCMD="run"
124124
fi

0 commit comments

Comments
 (0)