Skip to content

Commit 71231d6

Browse files
fix
1 parent e427edc commit 71231d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/errmsg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ErrorMessage() {
3636
echo -e "$_N_ $ERROR_PREFIX: $ERROR_TYPE $ERROR_CODE: $ERROR_MESSAGE $ERROR_LINK $_N_"
3737
}
3838

39-
Message() {
39+
_justMessage() {
4040
local MESSAGE=$1
4141
echo -e "$_N_ $ERROR_PREFIX: INFO: $MESSAGE $_N_"
4242
}

src/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ elif [ "$TYPE" == "redirector" ]; then
121121
echo $msg5
122122
elif [ "$TYPE" == "compressor" ]; then
123123
mkdir -p deploy && \
124-
find . -path ./deploy -prune -o -print | sed 's|^\./||' | cp --parents -t deploy - && \
124+
find . -path ./deploy -prune -o -print | sed 's|^\./||' | xargs -I {} cp --parents {} deploy/ && \
125125
installNodejs && \
126126
node $GITHUB_ACTION_PATH/src/compress.js "deploy" && \
127127
echo $msg6

0 commit comments

Comments
 (0)