harmony icon indicating copy to clipboard operation
harmony copied to clipboard

crash while creating a PR

Open mattpolzin opened this issue 8 months ago • 1 comments

mattpolzin: (thingy) $ harmony pr \#fast◌lane 
The following commits have not been pushed:

commit 4d61a9e39f530d3727fb59908b6384f7c0c462ca
Author: Mathew Polzin <[email protected]>
Date:   Tue Apr 8 17:01:28 2025 -0500

    commit msg


Would you like to push these changes before creating a PR? [Y/n] 
/nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:216
const _strReverse = x => x.split('').reverse().join('')
                           ^

TypeError: x.split is not a function
    at _strReverse (/nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:216:28)
    at Data_String_trim (/nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:3993:57)
    at $f (/nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:3348:453)
    at /nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:2516:11
    at /nix/store/56wa14vgiwjrpx8cqcifyvnqgism83bk-harmony-5.1.0/bin/.harmony-wrapped:262:54

mattpolzin avatar Apr 08 '25 22:04 mattpolzin

I think this is happening when (a) offering to push an unpushed commit and (b) hitting an error that the remote is incompatible (I would have in this case done a force-push because I'd rebased locally since the last remove push).

mattpolzin avatar Apr 08 '25 22:04 mattpolzin