Browse Source

Remove canStart from the docstrings

Jeremy Tuloup 5 năm trước cách đây
mục cha
commit
424104399b
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>;