john-goldsmith/vscode-aws-cloudformation-auto-template-generator

View on GitHub
src/commands/set-config-file-path.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function setConfigFilePath has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function setConfigFilePath() {
  return async (): Promise<void> => {
    try {
      const workspaceConfiguration = getConfiguration(EXTENSION_NAME)
      let configFilePath = await workspaceConfiguration.get<string>(CONFIG_FILE_PATH_CONFIGURATION_PROPERTY)
Severity: Minor
Found in src/commands/set-config-file-path.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status