You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -318,7 +319,7 @@ function validateConfig(serverless, stateMachineName, stateMachineObj, notificat
318
319
}
319
320
320
321
if(stateMachineObj.type==='EXPRESS'){
321
-
serverless.cli.consoleLog(
322
+
logger.log(
322
323
`State machine [${stateMachineName}] : notifications are not supported on Express Workflows. `
323
324
+'Please see https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html for difference between Step Functions Standard and Express Workflow.',
324
325
);
@@ -330,7 +331,7 @@ function validateConfig(serverless, stateMachineName, stateMachineObj, notificat
330
331
);
331
332
332
333
if(error){
333
-
serverless.cli.consoleLog(
334
+
logger.log(
334
335
`State machine [${stateMachineName}] : notifications config is malformed. `
335
336
+'Please see https://github.com/horike37/serverless-step-functions for examples. '
336
337
+`${error}`,
@@ -343,6 +344,7 @@ function validateConfig(serverless, stateMachineName, stateMachineObj, notificat
0 commit comments