fix removed-forbidden test
parent
e57657a76e
commit
966c5dfbce
|
@ -0,0 +1,4 @@
|
|||
vendor/elm-spa-example/src/Article/Body.elm: removed forbidden import Html! (Run me with `update` to fix this.)
|
||||
|
||||
It looks like you removed some forbidden imports. Good job! To update the config
|
||||
and remove this error, just run me with the `update` command!
|
|
@ -9,7 +9,7 @@ set -e
|
|||
|
||||
elm-forbid-import update
|
||||
|
||||
FILE="$(jq -r '.file' <<< "$MATCH")"
|
||||
FILE="$(jq -r '.path' <<< "$MATCH")"
|
||||
cp "$FILE" "$FILE.bak"
|
||||
sed -i "$(jq '.position.row' <<< "$MATCH")d" "$FILE"
|
||||
|
||||
|
|
Loading…
Reference in New Issue