Skip to content

Commit

Permalink
Remove extra sanitization option
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Dec 9, 2024
1 parent dad1312 commit a11ba75
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cli/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ import {consoleLog} from "../utils/output.js";
export async function run(opts_: FileCollectionOptions & StorageOptions & BenchmarkOpts): Promise<void> {
const opts = Object.assign({}, optionsDefault, opts_);

// Sanitize opts
if (isNaN(opts.threshold)) throw Error("opts.threshold is not a number");

// Retrieve history
const historyProvider = getHistoryProvider(opts);
consoleLog(`Connected to historyProvider: ${historyProvider.providerInfo()}`);
Expand Down

0 comments on commit a11ba75

Please sign in to comment.