Skip to content

Commit

Permalink
fix(codepipeline-actions): correctly name the triggering Event in Cod…
Browse files Browse the repository at this point in the history
…eCommitSourceAction (#10706)

Use backticks instead of single quotes for template strings.

Fixes #10665

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
gotodeploy authored Oct 5, 2020
1 parent 3cbb863 commit ff3a692
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class CodeCommitSourceAction extends Action {
} while (this.props.repository.node.tryFindChild(candidate) !== undefined);
return candidate;
} else {
const branchIdDisambiguator = this.branch === 'master' ? '' : '-${this.branch}-';
const branchIdDisambiguator = this.branch === 'master' ? '' : `-${this.branch}-`;
return this.eventIdFromPrefix(`${baseId}${branchIdDisambiguator}`);
}
}
Expand Down

0 comments on commit ff3a692

Please sign in to comment.