keboola/storage-api-js-client

View on GitHub
src/Tables.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function exportToFile has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async exportToFile(tableId: string, options: Record<string, any> = {}, filePath: string): Promise<void> {
    const file = await this.getTableFile(tableId, options);

    const fileRes = await axios.get(file.url);
    if (!file.isSliced) {
Severity: Minor
Found in src/Tables.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status