constructor()

in libraries/azure-app-configuration-importer-file-source/src/fileConfigurationSettingsSource.ts [15:30]


  constructor(fileOptions: FileSourceOptions) {
    super({
      data: "",
      ...fileOptions as SourceOptions
    });

    if (!fileOptions) {
      throw new ArgumentNullError("fileOptions argument is required.");
    }

    if (!fileOptions.filePath || fileOptions.filePath.trim().length <= 0) {
      throw new ArgumentNullError("fileOptions.filePath cannot be null or empty.");
    }

    this.filePath = fileOptions.filePath;
  }