Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

[BUG] the formula should know where the user call it. #99

Closed
viniciussousazup opened this issue May 19, 2020 · 0 comments · Fixed by #100
Closed

[BUG] the formula should know where the user call it. #99

viniciussousazup opened this issue May 19, 2020 · 0 comments · Fixed by #100
Assignees
Labels
🪲 bug Report a bug encountered while operating Ritchie

Comments

@viniciussousazup
Copy link
Contributor

What happened:
Formulas who use the current PWD are broking, because when running the formula the PWD is set to /.rit/tmp/4c4de087-27ca-47c5-9a8d-0bcb8344b6b9
What you expected to happen:
the formula should know where the user call it.
How to reproduce it (as minimally and precisely as possible):
example:

  • on folder: /home/vinicius.sousa/Documents/zup/realwave-zupper-bff
  • run: rit github fast-merge
  • description: the formula fail, then a print the PWD
    • and return:
      /home/vinicius.sousa/.rit/tmp/4c4de087-27ca-47c5-9a8d-0bcb8344b6b9/github/fast-merge
    • but on the old version of rit returns:
      /home/vinicius.sousa/Documents/zup/realwave-zupper-bff

Environment:

  • Ritchie version (use rit --version):
    rit version 1.0.0-beta.6 (team)
  • Operating System:
    ubuntu 18.4
@viniciussousazup viniciussousazup added the 🪲 bug Report a bug encountered while operating Ritchie label May 19, 2020
@marcosgmgm marcosgmgm self-assigned this May 19, 2020
@marcosgmgm marcosgmgm linked a pull request May 19, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 bug Report a bug encountered while operating Ritchie
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants