From 0c860c7b8410b9454f44526b6f6b5a6fc7b7d4d4 Mon Sep 17 00:00:00 2001 From: farfromrefuge Date: Tue, 18 Nov 2025 18:41:43 +0100 Subject: [PATCH] fix: prevent error in nsconfig if a nativescript.config.ts entry is undefined --- lib/commands/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/config.ts b/lib/commands/config.ts index 8689880fcd..a37506bf47 100644 --- a/lib/commands/config.ts +++ b/lib/commands/config.ts @@ -38,7 +38,7 @@ export class ConfigListCommand implements ICommand { .join("\n") ); } else { - return color.yellow(value.toString()); + return color.yellow(typeof value === 'undefined' ? 'undefined' : value.toString()); } } }