Skip to content
Draft
Changes from all commits
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
8 changes: 6 additions & 2 deletions src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ export class RunCommand extends ApifyCommand<typeof RunCommand> {

if (crawleeVersion.isNone()) {
await Promise.all([purgeDefaultQueue(), purgeDefaultKeyValueStore(resolvedInputKey), purgeDefaultDataset()]);
info({ message: 'All default local stores were purged.' });
info({
message: `All default local stores were purged (the "${resolvedInputKey}" key-value store entry was preserved; pass --no-purge to keep everything).`,
});
}
}

Expand Down Expand Up @@ -546,7 +548,9 @@ export class RunCommand extends ApifyCommand<typeof RunCommand> {
if (inputOverride) {
errorHeader = `The input provided through the ${inputOverride.source} file is invalid. Please fix the following errors:\n`;
} else {
errorHeader = 'The input in your storage is invalid. Please fix the following errors:\n';
errorHeader =
'The input in your storage is invalid. Please fix the following errors' +
' (or override the stored input for this run with `--input \'{"...":"..."}\'` or `--input-file ./input.json`):\n';
}
break;
}
Expand Down
Loading