mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Fix jq command to use [] instead of ."matrix-js-sdk"
Because otherwise there might be a syntax error looking like ``` error: syntax error, unexpected QQSTRING_START, expecting IDENT .dependencies."matrix-js-sdk" ```
This commit is contained in:
parent
cc8518101b
commit
c07c060b7d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ cd `dirname $0`
|
||||||
|
|
||||||
for i in matrix-js-sdk matrix-react-sdk
|
for i in matrix-js-sdk matrix-react-sdk
|
||||||
do
|
do
|
||||||
depver=`cat package.json | jq -r .dependencies.\"$i\"`
|
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
|
||||||
latestver=`npm show $i version`
|
latestver=`npm show $i version`
|
||||||
if [ "$depver" != "$latestver" ]
|
if [ "$depver" != "$latestver" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue