mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #2881 from pre-commit/r-does-not-support-language-version
r does not support language_version currently
This commit is contained in:
commit
0deb445a73
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ def install_environment(
|
|||
version: str,
|
||||
additional_dependencies: Sequence[str],
|
||||
) -> None:
|
||||
lang_base.assert_version_default('r', version)
|
||||
|
||||
env_dir = lang_base.environment_dir(prefix, ENVIRONMENT_DIR, version)
|
||||
os.makedirs(env_dir, exist_ok=True)
|
||||
shutil.copy(prefix.path('renv.lock'), env_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue