Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Oct 18, 2018

PR Summary

The logic in set the publish path for -psmodulerestore assumes a path that contains the pwsh executable so it uses the parent of -OutputPath. However, the VSCode default build task specifies a debug folder in the root of the repo. So the logic uses the parent and thus creates a Modules folder in the root of the repo. The fix is to check if the -OutputPath ends with pwsh and if so use the previous logic of using the parent folder, otherwise, just use the -OutputPath.

PR Checklist

@TravisEz13 TravisEz13 merged commit ef504e5 into PowerShell:master Oct 20, 2018
@SteveL-MSFT SteveL-MSFT deleted the build-modulerestore branch March 10, 2020 21:01
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.

3 participants