Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8afe595 + 8db5aaf commit f5ec578Copy full SHA for f5ec578
1 file changed
pre_commit/languages/dotnet.py
@@ -61,15 +61,15 @@ def install_environment(
61
helpers.assert_no_additional_deps('dotnet', additional_dependencies)
62
63
envdir = helpers.environment_dir(prefix, ENVIRONMENT_DIR, version)
64
- build_dir = 'pre-commit-build'
+ build_dir = prefix.path('pre-commit-build')
65
66
# Build & pack nupkg file
67
helpers.run_setup_cmd(
68
prefix,
69
(
70
'dotnet', 'pack',
71
'--configuration', 'Release',
72
- '--output', build_dir,
+ '--property', f'PackageOutputPath={build_dir}',
73
),
74
)
75
0 commit comments