Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
fix(repo-created): improved the clarity of the success messages
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jun 13, 2019
1 parent 9c226d4 commit 0f842ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function createForUser(octokit, owner, name, visibility) {
private: 'Private' === visibility
});

success(`Repository created for user ${name} at ${htmlUrl}`);
success(`Repository ${name} created for user ${owner} at ${htmlUrl}`);

return {sshUrl, htmlUrl};
}
Expand All @@ -41,7 +41,7 @@ async function createForOrganization(octokit, owner, name, visibility) {
private: 'Private' === visibility
});

success(`Repository created for organization ${name} at ${htmlUrl}`);
success(`Repository ${name} created for organization ${owner} at ${htmlUrl}`);

return {sshUrl, htmlUrl};
}
Expand Down

0 comments on commit 0f842ed

Please sign in to comment.