Skip to content

Commit

Permalink
Add conditional success log
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov-d committed Oct 29, 2024
1 parent b475000 commit cff8d21
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ export async function createCloudFunction(optsWithGlobals: GlobalOptions) {
name: optsWithGlobals.name,
description: optsWithGlobals.description,
});

console.log(data.serialize());
console.log('Cloud function created successfully!');
if (data) {
console.log(data.serialize());
console.log('Cloud function created successfully!');
}
});
}

Expand Down

0 comments on commit cff8d21

Please sign in to comment.