Skip to content

Commit a2d2120

Browse files
feat: add "proposed" keyword for cleaning related assets (#480)
Signed-off-by: David Dal Busco <[email protected]>
1 parent 65677b1 commit a2d2120

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/constants/help.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const CHANGES_REJECT_DESCRIPTION = 'Reject a change.';
5353

5454
export const SNAPSHOT_UPLOAD_DESCRIPTION = 'Upload a snapshot from offline files.';
5555

56-
export const OPTION_KEEP_STAGED = `${yellow('-k, --keep-staged')} Keep staged assets in memory after applying the change.`;
56+
export const OPTION_KEEP_STAGED = `${yellow('-k, --keep-staged')} Keep proposed staged assets in memory after applying the change.`;
5757
export const OPTION_HASH = `${yellow('--hash')} The expected hash of all included changes (for verification).`;
5858
export const OPTION_HELP = `${yellow('-h, --help')} Output usage information.`;
5959
export const OPTION_MODE = `${yellow('-m, --mode')} Choose which environment to use (production, staging, development). Defaults to production if omitted.`;

src/services/changes/changes.apply.services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const executeApplyChanges = async ({
4949
spinner.text = 'Applying update...';
5050
break;
5151
case ApplyProposalProgressStep.ClearingProposalAssets:
52-
spinner.text = 'Clearing staged assets...';
52+
spinner.text = 'Clearing proposed staged assets...';
5353
break;
5454
case ApplyProposalProgressStep.PostApply:
5555
spinner.text = 'Reloading...';

src/services/changes/changes.clear.services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const clearProposalStagedAssets = async ({
1919

2020
console.log('');
2121

22-
const spinner = ora('Deleting staged assets...').start();
22+
const spinner = ora('Deleting proposed staged assets...').start();
2323

2424
try {
2525
const {satellite} = await assertConfigAndLoadSatelliteContext();

src/services/changes/changes.reject.services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const executeRejectChanges = async ({
3939
spinner.text = 'Rejecting...';
4040
break;
4141
case RejectProposalProgressStep.ClearingProposalAssets:
42-
spinner.text = 'Clearing staged assets...';
42+
spinner.text = 'Clearing proposed staged assets...';
4343
break;
4444
case RejectProposalProgressStep.PostReject:
4545
spinner.text = 'Reloading...';

0 commit comments

Comments
 (0)