Skip to content

Commit

Permalink
Minor fixes to example code
Browse files Browse the repository at this point in the history
Signed-off-by: snehajais22 <[email protected]>
  • Loading branch information
snehajais22 committed Aug 9, 2024
1 parent a82a4b2 commit 900432e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export class MyChart extends Chart {

new PipelineBuilder(this, 'clone-build-push')
.withDescription('This pipeline closes a repository, builds a Docker image, etc.')
.withStringParam(pipelineParam)
.withTask(new TaskBuilder(this, 'git-clone')
.withName('fetch-source')
.withWorkspace(new WorkspaceBuilder('output').withBinding('task-output'))
Expand Down Expand Up @@ -118,7 +119,7 @@ that extends `Chart`. For example, in this code:

```typescript
const app = new App();
new MyInstallPipeline(app, 'my-install-pipeline');
new MyChart(app, 'my-install-pipeline');
app.synth();
```

Expand Down

0 comments on commit 900432e

Please sign in to comment.