Skip to content

Commit

Permalink
Merge pull request #1428 from scop/golang-empty-dummy-module
Browse files Browse the repository at this point in the history
Add dummy go.mod for local "empty" installs
  • Loading branch information
asottile committed May 2, 2020
2 parents 0670e0b + e2ed732 commit 5ed3f56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Empty file.
6 changes: 3 additions & 3 deletions pre_commit/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ def _git_cmd(*args: str) -> None:
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:
Expand Down

0 comments on commit 5ed3f56

Please sign in to comment.