Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: James Henry <james@henry.sc>
  • Loading branch information
HamishBuckmaster and JamesHenry committed Nov 9, 2022
1 parent 0f37e47 commit 2d963e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/publish/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Useful in [Continuous integration (CI)](https://en.wikipedia.org/wiki/Continuous
lerna publish --canary --yes --summary-file ./output.json
```

When run with this flag, once a successfully publish it will create a json summary report(see below for an example).
When run with this flag, a json summary report will be generated after all packages have been successfully published (see below for an example).

```json
[
Expand Down
2 changes: 1 addition & 1 deletion commands/publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class PublishCommand extends Command {
output(jsonObject);
try {
fs.writeFileSync(filePath, JSON.stringify(jsonObject));
output("Locate Summary Report Here: ", filePath);
output("Publish summary created: ", filePath);
} catch (error) {
output("Failed to create the summary report", error);
}
Expand Down

0 comments on commit 2d963e0

Please sign in to comment.