Skip to content

Commit 5cafc80

Browse files
authored
Fixing ReferenceError: x is not defined
1 parent f70d7ca commit 5cafc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = async () => {
132132
.filter(r => r.Type === 'AWS::DynamoDB::Table')
133133
.map(r => {
134134
let table = r.Properties;
135-
if (typeof x.TableName === 'object') {
135+
if (typeof r.TableName === 'object') {
136136
table.TableName = table.TableName.data.replace('${env}', 'test');
137137
}
138138
delete table.TimeToLiveSpecification; //errors on dynamo-local

0 commit comments

Comments
 (0)