vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function setConfig

    • Update the SFDX configuration for the specified folder path or in the specified config file.

      If no config file is specified the default config file name .sfdx/sfdx-config.json is used.

      Type Parameters

      • T extends object

      Parameters

      • folderPath: string
      • config: Partial<T>

        Update configuration with the username to set and the config file to update

      • options: { fs: FileSystem; replace?: boolean } = ...

        Options to set the FS implementation to use

      Returns Promise<boolean>

      Promise that resolves when the default username is updated