git.delta.rocks / unique-network / refs/commits / 26aa849f1ff0

difftreelog

change repo path

Igor Kozyrev2021-12-02parent: #5b368f3.patch.diff
in: master

1 file changed

modifiedtests/update_types.shdiffbeforeafterboth
before · tests/update_types.sh
1#!/usr/bin/env sh23if [[ ! -f unique-types-js ]]; then4	git clone git@github.com:UniqueNetwork/unique-types-js.git5fi67yarn polkadot-types89rsync -ar --delete src/interfaces/ unique-types-js/src/interfaces10for file in unique-types-js/src/interfaces/augment-*; do11	sed -i '1s;^;//@ts-nocheck\n;' $file12done1314pushd unique-types-js15git add src/interfaces/16git commit -m "chore: regenerate types"17popd
after · tests/update_types.sh
1#!/usr/bin/env sh23yarn polkadot-types45cd ../..6if [ ! -f unique-types-js ]; then7	git clone git@github.com:UniqueNetwork/unique-types-js.git8fi910rsync -ar --delete unique-chain/tests/src/interfaces/ unique-types-js/src/interfaces11for file in unique-types-js/src/interfaces/augment-*; do12	sed -i '1s;^;//@ts-nocheck\n;' $file13done1415cd unique-types-js16git add src/interfaces/17git commit -m "chore: regenerate types"18cd ../unique-chain/tests