You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However they both have the same command, Publish-GithubRelease with different parameters. The first one, your custom module requires a parameter called GITHUB_ACCESS_TOKEN while the latter requires AccessToken as you can see here. And the second one is imported later with -Force parameter, it overrides the function from the first module. It is better to make a decision:
Keep both functions but move custom module a few lines below to override external one.
Remove Publish-GithubRelease from BuildTools.psm1 and use the one from BuildHelpers module.
The text was updated successfully, but these errors were encountered:
The BuildTools.psm1 module of yours is defined in the build script.
ConfluencePS/ConfluencePS.build.ps1
Line 31 in c86f787
Then BuildHelpers module is imported 3 lines later.
ConfluencePS/ConfluencePS.build.ps1
Line 34 in c86f787
However they both have the same command,
Publish-GithubRelease
with different parameters. The first one, your custom module requires a parameter calledGITHUB_ACCESS_TOKEN
while the latter requiresAccessToken
as you can see here. And the second one is imported later with-Force
parameter, it overrides the function from the first module. It is better to make a decision:Publish-GithubRelease
from BuildTools.psm1 and use the one from BuildHelpers module.The text was updated successfully, but these errors were encountered: