iterative/vscode-dvc

View on GitHub
extension/src/setup/webview/messages.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
96%

Function handleMessageFromWebview has 50 lines of code (exceeds 40 allowed). Consider refactoring.
Open

  public handleMessageFromWebview(message: MessageFromWebview) {
    switch (message.type) {
      case MessageFromWebviewType.CHECK_CLI_COMPATIBLE:
        return commands.executeCommand(
          RegisteredCommands.EXTENSION_CHECK_CLI_COMPATIBLE
Severity: Minor
Found in extension/src/setup/webview/messages.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status