Skip to content

Commit 0af161b

Browse files
authored
chore(core): fix typo in assets.ts (#25548)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 0b538ae commit 0af161b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/aws-cdk-lib/core/lib/assets.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export interface FileAssetSource {
112112
*
113113
* The command should produce the location of a ZIP file on `stdout`.
114114
*
115-
* @default - Exactly one of `directory` and `executable` is required
115+
* @default - Exactly one of `fileName` and `executable` is required
116116
*/
117117
readonly executable?: string[];
118118

@@ -121,7 +121,7 @@ export interface FileAssetSource {
121121
* source resides. This can be a path to a file or a directory, depending on the
122122
* packaging type.
123123
*
124-
* @default - Exactly one of `directory` and `executable` is required
124+
* @default - Exactly one of `fileName` and `executable` is required
125125
*/
126126
readonly fileName?: string;
127127

@@ -386,4 +386,4 @@ export interface DockerCacheOption {
386386
* };
387387
*/
388388
readonly params?: { [key: string]: string };
389-
}
389+
}

0 commit comments

Comments
 (0)