Add dummy go.mod for local "empty" installs

This commit is contained in:
Ville Skyttä
2020-05-02 20:10:19 +03:00
parent 0670e0b287
commit e2ed73209a
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: