Skip to content

Commit

Permalink
docs(amplify): fix files example in BuildSpec.fromObjectToYaml (#16701)
Browse files Browse the repository at this point in the history
passing `files: '**/*'` to artifacts doesn't work. It needs to be an array.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
almassapargali authored Oct 22, 2021
1 parent d7aceec commit 0520ca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-amplify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const amplifyApp = new amplify.App(this, 'MyApp', {
},
artifacts: {
baseDirectory: 'public',
files: '**/*'
files:
- '**/*'
}
}
})
Expand Down

0 comments on commit 0520ca2

Please sign in to comment.