From 2cca176ab6edf9505e75db1291b3069fb8d78a94 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Mon, 23 Aug 2021 00:04:43 +0200 Subject: [PATCH] Add types to fix deprecation warning --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 685e119..c672dca 100644 --- a/index.js +++ b/index.js @@ -60,6 +60,7 @@ class SamPlugin { + '(e.g. "--output ./sam-template.yml" or "-o ./sam-template.yml")', required: true, shortcut: 'o', + type: 'string', }, }, } @@ -222,4 +223,4 @@ class SamPlugin { } } -module.exports = SamPlugin; \ No newline at end of file +module.exports = SamPlugin;