You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: mypackage/1.2.3: Error insource() method, line 65
git.fetch_commit(url, commit=self.conan_data["sources"]["commit"])
FileNotFoundError: [Errno 2] No such file or directory: 'myFolder'
It seems that mkdir(self.folder) is missing in the body of fetch_commit() method - similarly as it is done in clone() method.
How to reproduce it
No response
The text was updated successfully, but these errors were encountered:
Thanks for your report.
It seems it could be a small UX improvement (what we call a fix, not a bugfix), and I think it should be very straightforward, would you like to do it yourself and contribute a PR?
Describe the bug
conan.tools.scm.Git.fetch_commit()
method throws an error whenfolder
argument is passed to Git class constructor:Error message:
It seems that
mkdir(self.folder)
is missing in the body offetch_commit()
method - similarly as it is done inclone()
method.How to reproduce it
No response
The text was updated successfully, but these errors were encountered: