From db4e454dcd89bb97eb68a3f8614ea9ad7b1047b1 Mon Sep 17 00:00:00 2001 From: rzadp Date: Tue, 28 May 2024 15:07:04 +0200 Subject: [PATCH] new line --- .github/workflows/sync-templates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-templates.yml b/.github/workflows/sync-templates.yml index b7912610f2dbe..559de812002c0 100644 --- a/.github/workflows/sync-templates.yml +++ b/.github/workflows/sync-templates.yml @@ -118,7 +118,7 @@ jobs: cp -r polkadot-sdk/templates/${{ matrix.template }}/* "${{ env.template-path }}/" - name: Copy over required workspace dependencies run: | - echo "[workspace.dependencies]" >> Cargo.toml + echo "\n[workspace.dependencies]" >> Cargo.toml set +e while cargo tree --depth 1 --prefix none --no-dedupe 2>&1 | grep 'was not found in `workspace.dependencies`'; do missing_dep=$(cargo tree --depth 1 --prefix none --no-dedupe 2>&1 | grep 'was not found in `workspace.dependencies`' | sed -E 's/(.*)`dependency.(.*)` was not found in `workspace.dependencies`/\2/')