Skip to content

Commit 277f8b0

Browse files
committed
Another small property name change
1 parent db96271 commit 277f8b0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ This is a config file used by the app to determine what updates to run. It is co
160160
},
161161
"NpmOptions": {
162162
"NpmCompileOptions":{
163-
"NpmBuildCommand": "publish"
163+
"BuildCommand": "publish"
164164
}
165165
}
166166
}

code-update-runner-sample/code-updater-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"NpmOptions": {
3737
"NpmCompileOptions":{
38-
"NpmBuildCommand": "publish"
38+
"BuildCommand": "publish"
3939
}
4040
}
4141
}

src/CodeUpdater/CodeUpdater/CompileRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public async ValueTask<CompileResults> CompileProjectsAsync(UpdateWork updateWor
2323

2424
private async ValueTask<CompileNpmDirectoryResults> BuildAllNpmDirectoriesAsync(UpdateWork updateWork, UpdateOptions updateOptions)
2525
{
26-
var npmBuildCommand = updateOptions.NpmOptions?.NpmCompileOptions?.NpmBuildCommand;
26+
var npmBuildCommand = updateOptions.NpmOptions?.NpmCompileOptions?.BuildCommand;
2727
if (!string.IsNullOrWhiteSpace(npmBuildCommand))
2828
{
2929
Logger.Information("Np NpmOptions config set, meaning no NPM Packages Updated, meaning nothing to compile");

src/CodeUpdater/CodeUpdater/Options/UpdateOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class NpmCompileOptions
6060
/// Npm command to \"compile\" the npm directory. The CLI command that will be run is: npm run {{NpmBuildCommand}}
6161
/// </summary>
6262
[Required(AllowEmptyStrings = false)]
63-
public required string NpmBuildCommand { get; set; }
63+
public required string BuildCommand { get; set; }
6464
}
6565

6666
public class CSharpOptions

0 commit comments

Comments
 (0)