소스 검색

Remove canStart from the docstrings

Jeremy Tuloup 5 년 전
부모
커밋
424104399b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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>;