Skip to content

Commit

Permalink
fix(publisher-github): update error message to reflect the correct pr…
Browse files Browse the repository at this point in the history
…operty names (#3393)

* fix(publisher-github): update error message to reflect the correct property names

* Update packages/publisher/github/src/PublisherGithub.ts

Co-authored-by: Erick Zhao <erick@hotmail.ca>

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
  • Loading branch information
erikian and erickzhao committed Oct 30, 2023
1 parent 0a468c8 commit cfab773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/publisher/github/src/PublisherGithub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class PublisherGithub extends PublisherBase<PublisherGitHubConfig

if (!(config.repository && typeof config.repository === 'object' && config.repository.owner && config.repository.name)) {
throw new Error(
'In order to publish to github you must set the "github_repository.owner" and "github_repository.name" properties in your Forge config. See the docs for more info'
'In order to publish to GitHub, you must set the "repository.owner" and "repository.name" properties in your Forge config. See the docs for more info'
);
}

Expand Down

0 comments on commit cfab773

Please sign in to comment.