Skip to content

Commit

Permalink
Merge pull request #28 from ibm-wch/rel2.9.2
Browse files Browse the repository at this point in the history
updates for version 2.9.2
  • Loading branch information
Kevin Tapperson authored Jul 18, 2018
2 parents 32ddc06 + c132caf commit 8040f7c
Show file tree
Hide file tree
Showing 151 changed files with 5,922 additions and 216 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 2.9.2 changes since 2.8.2
- New compare command for comparing source and target exports or source export with a target tenant, optionally writing a manifest of updates needed in the target, from the source, along with an optional manifest of items deleted from source that could then be deleted from the target with wchtools delete --manifest
- New optional push --publish-now argument, to override a global publishing schedule, when you need to push and publish new web artifacts immediately, to address an issue.

### 2.8.2 changes since 2.7.6
- Improve delete all to handle all drafts.
- Improve preventaion of draft asset collisions.
Expand Down
12 changes: 6 additions & 6 deletions CLI/commands/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ class ClearCommand extends BaseCommand {
const helper = ToolsApi.getEdgeConfigHelper();
const self = this;

// Check to see if the initialization process was successful.
if (!self.handleInitialization(context)) {
return;
}
if (!self.getCommandLineOption("cache")) {
this.errorMessage(i18n.__("cli_clear_requires_cache", {cache: "--cache"}));
this.resetCommandLineOptions();
return;
}

// Make sure the url option has been specified.
self.handleUrlOption(context)
// Make sure the initialization process was successful.
self.handleInitialization(context)
.then(function () {
// Make sure the url option has been specified.
return self.handleUrlOption(context);
})
.then(function () {
// Handle the necessary command line options.
return self.handleAuthenticationOptions(context);
Expand Down
Loading

0 comments on commit 8040f7c

Please sign in to comment.