Skip to content

Commit

Permalink
No need for context.suceed() in the example Lambda.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Jan 2, 2020
1 parent 1c96514 commit 95de96b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/@aws-cdk/aws-codepipeline-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline.addStage({
});
```

The CodeCommit source action produces variables:
The CodeCommit source action emits variables:

```typescript
const codeCommitSourceVariables = new codepipeline_actions.CodeCommitSourceVariables();
Expand Down Expand Up @@ -87,7 +87,7 @@ pipeline.addStage({
});
```

The GitHub source action produces variables:
The GitHub source action emits variables:

```typescript
const gitHubSourceVariables = new codepipeline_actions.GitHubSourceVariables();
Expand Down Expand Up @@ -158,7 +158,7 @@ const sourceAction = new codepipeline_actions.S3SourceAction({
});
```

The S3 source action produces variables:
The S3 source action emits variables:

```typescript
const s3SourceVariables = new codepipeline_actions.S3SourceVariables();
Expand Down Expand Up @@ -200,7 +200,7 @@ pipeline.addStage({
});
```

The ECR source action produces variables:
The ECR source action emits variables:

```typescript
const ecrSourceVariables = new codepipeline_actions.EcrSourceVariables();
Expand Down Expand Up @@ -751,7 +751,6 @@ new codepipeline_actions.LambdaInvokeAction({
MY_VAR: "some value",
},
}).promise();
context.succeed("success");
}
`),
}),
Expand Down

0 comments on commit 95de96b

Please sign in to comment.