Closed jonahbeckford closed 2 years ago
I would have hoped the empty string would be ignored but I guess that only works when executing the command through a shell, which is not happening here.
Hmm, I think the CI pipeline for this project runs in debug mode, that's why it passed.
Please try 0.6.2 now.
Works. Thx!
Continues #11.
I tried v0.6.1 and it now only works if I have debug mode enabled:
I think it is because with an empty
syncVerboseFlag
: https://github.com/cross-platform-actions/action/blob/52ad2be2afbddaeb29083cf99497bb159942b0f4/src/action/action.ts#L225-L227 in https://github.com/cross-platform-actions/action/blob/52ad2be2afbddaeb29083cf99497bb159942b0f4/src/action/action.ts#L235-L242 you would get the second argument (this.syncVerboseFlag
) as an empty string.rsync will see the empty string and try to sync that.
Originally posted by @jonahbeckford in https://github.com/cross-platform-actions/action/issues/11#issuecomment-1175683402