From 9426761312c40c22f96c54185aef85cfdffb3ce8 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Thu, 17 Dec 2020 13:18:26 -0500 Subject: [PATCH] Update lib/profile.js Co-authored-by: Jordan Harband --- lib/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/profile.js b/lib/profile.js index c532ab3351367..3dd5ca01eda9d 100644 --- a/lib/profile.js +++ b/lib/profile.js @@ -68,7 +68,7 @@ const profile = async (args) => { case 'set': return set(opts) default: - throw new Error('Unknown profile command: ' + args[0]) + throw new Error('Unknown profile command: ' + subcmd) } }