Skip to content

Commit 8c2985d

Browse files
authored
fix: default functionConfigurationsLocation refers to mappingTemplatesLocation (#156)
1 parent dba3aee commit 8c2985d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/getAppSyncConfig.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ export default function getAppSyncConfig(context, appSyncConfig) {
3939

4040
const functionConfigurationsLocation = path.join(
4141
context.serverless.config.servicePath,
42-
cfg.functionConfigurationsLocation || DEFAULT_MAPPING_TEMPLATE_LOCATION,
42+
cfg.functionConfigurationsLocation ||
43+
cfg.mappingTemplatesLocation ||
44+
DEFAULT_MAPPING_TEMPLATE_LOCATION,
4345
);
4446

4547
const { defaultMappingTemplates = {} } = cfg;

0 commit comments

Comments
 (0)