Skip to content

Commit c4f4cf1

Browse files
Tidy up
1 parent d2aacb4 commit c4f4cf1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

__tests__/api/BundleDeploy/BundleDeployer.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
import { BundleDeployer } from "../../../src/api/BundleDeploy/BundleDeployer";
1313
import { IHandlerParameters, TaskStage } from "@zowe/imperative";
1414
import * as DeployBundleDefinition from "../../../src/cli/deploy/bundle/DeployBundle.definition";
15-
import * as fse from "fs-extra";
16-
import { ZosmfSession, SubmitJobs, List, explainProvisionedInstanceExtended } from "@zowe/cli";
15+
import { ZosmfSession, SubmitJobs, List } from "@zowe/cli";
1716

1817

1918
const DEFAULT_PARAMTERS: IHandlerParameters = {

src/api/BundleDeploy/BundleDeployer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class BundleDeployer {
271271

272272
private updateProgressBar(action: string) {
273273
// Increment the progress bar. This will refresh what the user sees on the console.
274-
this.progressBar.percentComplete = this.progressBar.percentComplete + this.PROGRESS_BAR_INCREMENT;
274+
this.progressBar.percentComplete += this.PROGRESS_BAR_INCREMENT;
275275

276276
// Have a look at the status message for the progress bar, has it been updated with
277277
// the jobid yet? If so, parse it out and refresh the message.

0 commit comments

Comments
 (0)