Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Staging......also important
  • Loading branch information
codebytere committed Jun 4, 2020
commit a3c6eb7b45f668ac5e4b5465cf4fb8f492bc6be1
6 changes: 4 additions & 2 deletions lib/landing_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ class LandingSession extends Session {
const unmarkedDepCount = unmarkedDeprecations.length;
if (unmarkedDepCount > 0) {
cli.startSpinner('Assigning deprecation numbers to DEPOXXX items');
await updateDeprecations(unmarkedDeprecations);

// Amend the last commit with the updated deprecation items.
// Update items then stage files and amend the last commit.
await updateDeprecations(unmarkedDeprecations);
await runAsync('git', ['add', 'doc', 'lib', 'src', 'test']);
await runAsync('git', ['commit', '--amend', '--no-edit']);
Comment thread
codebytere marked this conversation as resolved.

cli.stopSpinner(`Updated ${unmarkedDepCount} DEPOXXX items in codebase`);
}

Expand Down