Skip to content

Commit 50ce1d5

Browse files
committed
Fix missing file operand
fix #22
1 parent 164fc9e commit 50ce1d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ echo '::group::Copying files into /tmp/local-repo'
6464
}
6565
# shellcheck disable=SC2086
6666
# Ignore quote rule because we need to expand glob patterns to copy $assets
67-
{
67+
if [[ -n "$assets" ]]; then
6868
echo 'Copying' $assets
6969
cp -rt /tmp/local-repo/ $assets
70-
}
70+
fi
7171
echo '::endgroup::'
7272

7373
echo '::group::Generating .SRCINFO'

0 commit comments

Comments
 (0)