1
Fork 0
mirror of https://github.com/RGBCube/GitHub2Forgejo synced 2025-05-31 10:48:11 +00:00

Use shorthand for --ignore-erros as it is too long

This commit is contained in:
RGBCube 2024-05-28 14:05:33 +03:00
parent 084ff3bcc0
commit 7a61df4396
No known key found for this signature in database

View file

@ -33,7 +33,7 @@ def main [
let gitea_uid = (
http get $"($gitea_url)/api/v1/users/($gitea_user)"
-H [ Authorization $"token ($gitea_token)" ]
) | get --ignore-errors id
) | get -i id
if $gitea_uid == null {
echo "Invalid Gitea username or password"