keboola/storage-api-js-client

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language