Skip to content

Commit

Permalink
Remove condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov-d committed Oct 29, 2024
1 parent 1cf91cf commit e1d66e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ export async function createCloudFunction(optsWithGlobals: GlobalOptions) {
name: optsWithGlobals.name,
description: optsWithGlobals.description,
});
if (data) {
console.log(data.serialize());
console.log('Cloud function created successfully!');
}

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

Expand Down
10 changes: 4 additions & 6 deletions packages/cli/src/modules/indexing/indexing.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ export async function deployIndexer(
) {
await withErrorHandler(async () => {
console.log(`Deploying indexer: ${path}`);
const res = await new Indexing(optsWithGlobals)
await new Indexing(optsWithGlobals)
.indexer(optsWithGlobals.indexerUuid)
.deployIndexer(path);

if (res) {
console.log(
`Indexer deployment successfully started! Check Apillon console for status.`,
);
}
console.log(
`Indexer deployment successfully started! Check Apillon console for status.`,
);
});
}

0 comments on commit e1d66e5

Please sign in to comment.