From 8a68c2106179bc8482a91a03985d445c1acc25c2 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 8 Jul 2026 22:54:15 +0200 Subject: [PATCH 1/2] Fix CLI message --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cd092623f..ff62fd6a7 100644 --- a/index.js +++ b/index.js @@ -160,7 +160,7 @@ class ServerlessPlugin { type: 'string', }, path: { - usage: 'Path to JSON or YAML file holding input data (use either this or --data)', + usage: 'Path to JSON file holding input data (use either this or --data)', shortcut: 'p', type: 'string', }, From 0e4f2919480b363f1066b8811298954cc9cd8a65 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 8 Jul 2026 22:54:40 +0200 Subject: [PATCH 2/2] Fix `bref:layers` --- plugin/layers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/layers.js b/plugin/layers.js index f0d9c45c8..0d91d9898 100644 --- a/plugin/layers.js +++ b/plugin/layers.js @@ -23,7 +23,8 @@ function listLayers(serverless, log) { } function padString(str, length) { - return str.padEnd(length, ' '); + // The value may be a number (layer versions are numbers in layers.json) + return String(str).padEnd(length, ' '); } module.exports = {listLayers};