Merge pull request #1428 from scop/golang-empty-dummy-module

Add dummy go.mod for local "empty" installs
This commit is contained in:
Anthony Sottile 2020-05-02 13:23:29 -07:00 committed by GitHub
commit 5ed3f5649b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -182,9 +182,9 @@ class Store:
return self._new_repo(repo, ref, deps, clone_strategy)
LOCAL_RESOURCES = (
'Cargo.toml', 'main.go', 'main.rs', '.npmignore', 'package.json',
'pre_commit_dummy_package.gemspec', 'setup.py', 'environment.yml',
'Makefile.PL',
'Cargo.toml', 'main.go', 'go.mod', 'main.rs', '.npmignore',
'package.json', 'pre_commit_dummy_package.gemspec', 'setup.py',
'environment.yml', 'Makefile.PL',
)
def make_local(self, deps: Sequence[str]) -> str: