Procházet zdrojové kódy

Remove canStart from the docstrings

Jeremy Tuloup před 5 roky
rodič
revize
424104399b
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/service.ts
  2. 1 1
      src/tokens.ts

+ 1 - 1
src/service.ts

@@ -173,7 +173,7 @@ export class DebugService implements IDebugger {
 
   /**
    * Starts a debugger.
-   * Precondition: canStart() && !isStarted()
+   * Precondition: !isStarted()
    */
   async start(): Promise<void> {
     await this.session.start();

+ 1 - 1
src/tokens.ts

@@ -78,7 +78,7 @@ export interface IDebugger extends IDisposable {
 
   /**
    * Starts a debugger.
-   * Precondition: canStart() && !isStarted()
+   * Precondition: !isStarted()
    */
   start(): Promise<void>;