Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does nimble lock require me to be in a version control system? #1231

Open
iffy opened this issue Jun 29, 2024 · 1 comment
Open

Why does nimble lock require me to be in a version control system? #1231

iffy opened this issue Jun 29, 2024 · 1 comment

Comments

@iffy
Copy link
Contributor

iffy commented Jun 29, 2024

I'm bumping into this error

syncfile.nim(48)         getSyncFilePath

    Error:  Sync file require current working directory to be under some supported type of version control.
     Hint:  Put package's working directory under version control.

From here:

msg = "Sync file require current working directory to be under some " &

I'm not sure I understand why it's a requirement that nimble lock can only run when inside a version-controlled project. Would a PR to allow nimble lock to run outside a version-controlled project be accepted?

@Araq
Copy link
Member

Araq commented Jun 29, 2024

Would a PR to allow nimble lock to run outside a version-controlled project be accepted?

Certainly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants