Skip to content

Commit

Permalink
remove console.log (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanfallon authored Feb 6, 2025
1 parent b50d653 commit 17d635d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ external_data_migrate:
--allow-write \
--allow-sys \
--allow-ffi \
--allow-import \
--allow-run \
src/db/external_data/index.ts

# Create a new bucket
Expand Down
7 changes: 1 addition & 6 deletions api/src/db/geo/buildMigrator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { collections } from "@/deps.ts";
import { Migrator } from "./Migrator.ts";
import { config as defaultConfig } from "./config.ts";
import { bootstrap, createFileManager, createPool, createStateManager } from "./helpers/index.ts";
Expand All @@ -12,11 +11,7 @@ export function buildMigrator(userConfig: Partial<PartialConfigInterface>, shoul

const pool = createPool({ ...defaultConfig.pool, ...userConfig.pool });

const appConfig = collections.deepMerge(
defaultConfig.app as any,
userConfig.app as any,
) as unknown as AppConfigInterface;

const appConfig = { ...defaultConfig.app, ...userConfig.app } as AppConfigInterface;
const stateManager = createStateManager(pool, appConfig);

if (shouldBootstrap) {
Expand Down
1 change: 0 additions & 1 deletion api/src/pdc/providers/storage/S3StorageProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export class S3StorageProvider implements ProviderInterface {
};

try {
console.log(key, rs.readable, params);
await client.putObject(key, rs.readable, params);
return key;
} catch (e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export class TerritoriesRepositoryProvider implements TerritoriesRepositoryInter
WHERE ${join(filters, " AND ")}
ORDER BY name
`;
console.log(query);
const response = await this.pg.getClient().query(query);
return response.rows;
}
Expand Down

0 comments on commit 17d635d

Please sign in to comment.