From 83ef386b8d31a4eefb6b4dbbc00ca0a84bd03ca4 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Mon, 30 Aug 2021 19:03:43 +0200 Subject: [PATCH] Add types to fix deprecation warning --- index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 0f46766..5ab1ed3 100644 --- a/index.js +++ b/index.js @@ -35,15 +35,18 @@ class StepFunctionsOfflinePlugin { options: { stateMachine: { usage: 'The stage used to execute.', - required: true + required: true, + type: 'string' }, event: { usage: 'File where is values for execution in JSON format', - shortcut: 'e' + shortcut: 'e', + type: 'string' }, detailedLog: { usage: 'Option which enables detailed logs', - shortcut: 'l' + shortcut: 'l', + type: 'boolean' } } }