Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python.poetryPath setting for installer on Windows #15707

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Mar 18, 2021

Closes #9672

Explanation: #9672 (comment)

PR was small enough so corrected ESLint errors in this PR itself.

@karrtikr karrtikr force-pushed the poetryapht branch 2 times, most recently from 6ea1f09 to 782e4e0 Compare March 18, 2021 22:57
try {
const processService = await this.processFactory.create(workfolder);
const execPath = this.configurationService.getSettings(workfolder).poetryPath;
const result = await processService.exec(execPath, ['list'], { cwd: workfolder.fsPath });
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix.

@karrtikr karrtikr merged commit ab52883 into microsoft:main Mar 19, 2021
@karrtikr karrtikr deleted the poetryapht branch March 19, 2021 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python.poetryPath default setting isn't working on Windows
3 participants