mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-24 00:32:21 +00:00
Address ShellCheck error
``` In ./test/acceptance.sh line 101: -e "s@{root}/node_modules/\.bin/node@{node}@g" "${curFile}" \ ^-- SC1117: Backslash is literal in "\.". Prefer explicit escaping: "\\.". ```
This commit is contained in:
parent
ec9087f0d2
commit
05f35415a6
@ -98,7 +98,7 @@ while IFS=$'\n' read -r scenario; do
|
|||||||
-e "s@${USER:-travis}@{user}@g" "${curFile}" \
|
-e "s@${USER:-travis}@{user}@g" "${curFile}" \
|
||||||
-e "s@travis@{user}@g" "${curFile}" \
|
-e "s@travis@{user}@g" "${curFile}" \
|
||||||
-e "s@kvz@{user}@g" "${curFile}" \
|
-e "s@kvz@{user}@g" "${curFile}" \
|
||||||
-e "s@{root}/node_modules/\.bin/node@{node}@g" "${curFile}" \
|
-e "s@{root}/node_modules/\\.bin/node@{node}@g" "${curFile}" \
|
||||||
-e "s@{home}/build/{user}/fre{node}@{node}@g" "${curFile}" \
|
-e "s@{home}/build/{user}/fre{node}@{node}@g" "${curFile}" \
|
||||||
-e "s@${HOSTNAME}@{hostname}@g" "${curFile}" \
|
-e "s@${HOSTNAME}@{hostname}@g" "${curFile}" \
|
||||||
-e "s@${__arch}@{arch}@g" "${curFile}" \
|
-e "s@${__arch}@{arch}@g" "${curFile}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user