From 30064a476ce179b79bc9571d078ae389bf076659 Mon Sep 17 00:00:00 2001 From: aayushRedHat Date: Tue, 19 Dec 2023 22:17:55 +0530 Subject: [PATCH] Fix failed test case --- lib/generator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generator.js b/lib/generator.js index 95bfc9c99..cdbb7639f 100644 --- a/lib/generator.js +++ b/lib/generator.js @@ -163,7 +163,7 @@ class Generator { } /** - * Check if the Registry Options is present or not. + * Check if the Registry Option is present or not. * * @private * @param {Object} registryOption Registry Options. @@ -171,7 +171,7 @@ class Generator { */ verifyRegistryOption(registryOption) { - return registryOption === null; + return registryOption !== null; } /**