Skip to content

Commit 1683909

Browse files
authored
Merge pull request #677 from AnastasiyaHladina/fix/typo
fix: message typo
2 parents 5f12477 + a63299b commit 1683909

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/__tests__/mapping-templates.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('Mapping Templates', () => {
128128
expect(function () {
129129
mapping.compile();
130130
}).toThrowErrorMatchingInlineSnapshot(
131-
`"Mapping tempalte file 'foo.vtl' does not exist"`,
131+
`"Mapping template file 'foo.vtl' does not exist"`,
132132
);
133133
});
134134
});

src/__tests__/resolvers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ describe('Resolvers', () => {
722722
`);
723723
});
724724

725-
it('should generate Pipeline Function Resources with VTL mapping tempaltes', () => {
725+
it('should generate Pipeline Function Resources with VTL mapping templates', () => {
726726
const api = new Api(
727727
given.appSyncConfig({
728728
dataSources: {

src/resources/MappingTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class MappingTemplate {
1414
compile(): string | IntrinsicFunction {
1515
if (!fs.existsSync(this.config.path)) {
1616
throw new this.api.plugin.serverless.classes.Error(
17-
`Mapping tempalte file '${this.config.path}' does not exist`,
17+
`Mapping template file '${this.config.path}' does not exist`,
1818
);
1919
}
2020

0 commit comments

Comments
 (0)