File tree Expand file tree Collapse file tree
protocol-devtools-solana/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @layerzerolabs/protocol-devtools-solana " : patch
3+ " @layerzerolabs/ua-devtools-solana " : patch
4+ ---
5+
6+ shell linting
Original file line number Diff line number Diff line change 5252 strategy :
5353 fail-fast : false
5454 matrix :
55- language : ['javascript-typescript', 'rust' ]
55+ language : ['javascript-typescript']
5656
5757 # Skip autobuild - CodeQL can analyze source code directly
5858 # No need to compile or install dependencies for static analysis
Original file line number Diff line number Diff line change 1010# (The "." will execute this inside the current shell instead of creating a child one)
1111
1212set -a
13- source ${1:- .env}
13+ # shellcheck source=/dev/null
14+ source " ${1:- .env} "
1415set +a
Original file line number Diff line number Diff line change 33if [ -z " ${LZ_DEVTOOLS_ENABLE_SOLANA_TESTS} " ]; then
44 echo ' Solana tests can be enabled by setting LZ_DEVTOOLS_ENABLE_SOLANA_TESTS environment variable to a non-empty value'
55else
6- jest --ci $@
6+ jest --ci " $@ "
77fi
Original file line number Diff line number Diff line change 33if [ -z " ${LZ_DEVTOOLS_ENABLE_SOLANA_TESTS} " ]; then
44 echo ' Solana tests can be enabled by setting LZ_DEVTOOLS_ENABLE_SOLANA_TESTS environment variable to a non-empty value'
55else
6- jest --ci --pass-with-no-tests $@
6+ jest --ci --pass-with-no-tests " $@ "
77fi
You can’t perform that action at this time.
0 commit comments