File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed
azure-app-configuration-importer-file-source
azure-app-configuration-importer Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 22 "name" : " @azure/app-configuration-importer-file-source" ,
33 "author" : " Microsoft Corporation" ,
44 "description" : " A client library for importing/exporting key-values between configuration file sources and Azure App Configuration service" ,
5- "version" : " 2.1.3 -preview" ,
5+ "version" : " 2.0.0 -preview" ,
66 "sdk-type" : " client" ,
77 "keywords" : [
88 " node" ,
3333 },
3434 "dependencies" : {
3535 "@azure/app-configuration" : " ^1.9.0" ,
36- "@azure/app-configuration-importer" : " 2.1.3 -preview"
36+ "@azure/app-configuration-importer" : " 2.0.0 -preview"
3737 },
3838 "devDependencies" : {
3939 "@microsoft/api-extractor" : " ^7.22.2" ,
Original file line number Diff line number Diff line change 22 "name" : " @azure/app-configuration-importer" ,
33 "author" : " Microsoft Corporation" ,
44 "description" : " A client library for importing/exporting key-values between configuration sources and Azure App Configuration service" ,
5- "version" : " 2.1.3 -preview" ,
5+ "version" : " 2.0.0 -preview" ,
66 "sdk-type" : " client" ,
77 "keywords" : [
88 " node" ,
Original file line number Diff line number Diff line change @@ -50,12 +50,8 @@ export class AppConfigurationImporter {
5050 timeout : number ,
5151 strict = false ,
5252 progressCallback ?: ( progress : ImportProgress ) => unknown ,
53- importMode ?: ImportMode
53+ importMode = ImportMode . IgnoreMatch
5454 ) : Promise < void > {
55- if ( importMode === undefined ) {
56- importMode = ImportMode . IgnoreMatch ;
57- }
58-
5955 this . validateImportMode ( importMode ) ;
6056
6157 // Generate correlation ID for operations
@@ -97,13 +93,9 @@ export class AppConfigurationImporter {
9793 public async GetConfigurationChanges (
9894 configSettingsSource : ConfigurationSettingsSource ,
9995 strict = false ,
100- importMode ?: ImportMode ,
96+ importMode = ImportMode . IgnoreMatch ,
10197 customHeadersOption ?: OperationOptions
10298 ) : Promise < ConfigurationChanges > {
103- if ( importMode == undefined ) {
104- importMode = ImportMode . IgnoreMatch ;
105- }
106-
10799 this . validateImportMode ( importMode ) ;
108100
109101 // Generate correlation ID
You can’t perform that action at this time.
0 commit comments