Skip to content

Commit

Permalink
fix: correct inspect types
Browse files Browse the repository at this point in the history
Both `inspect` and `inspectBrk` can take `true` to use the default options.
  • Loading branch information
trs committed Mar 4, 2022
1 parent 38a6435 commit f9accd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ export interface DenoCliOptions {
* The hostname and port where to start the inspector,
* passed to deno cli's `--inspect` option.
*/
inspect?: string;
inspect?: string | true;

/**
* Same as `inspect`, but breaks at start of user script.
*/
inspectBrk?: string;
inspectBrk?: string | true;

/**
* The path to an _existing_ lockfile,
Expand Down

0 comments on commit f9accd2

Please sign in to comment.