Skip to content

Commit 1baddac

Browse files
Aditya JoshiAditya Joshi
authored andcommitted
Removed null check for buildName flag
1 parent 81581a1 commit 1baddac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ program.command('storybook')
4242
await checkUpdate(version, options);
4343
console.log('\n');
4444
// Check if buildName is undefined or empty string
45-
if (options.buildName === undefined || options.buildName === '') {
45+
if (options.buildName === '') {
4646
const error = {
4747
"error": "MISSING_BUILD_NAME",
4848
"message": "The --buildName flag requires a value."

0 commit comments

Comments
 (0)