Skip to content

Commit c757428

Browse files
authored
Merge pull request #1089 from microting/copilot/remove-code-warnings
Remove unused field, obsolete API call, and deprecated GitHub Actions command
2 parents 9339722 + b64b1f1 commit c757428

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/dotnet-core-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
path: eform-angular-greate-belt-plugin
1414
- name: Extract branch name
1515
id: extract_branch
16-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
16+
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
1717
- name: 'Preparing Frontend checkout'
1818
uses: actions/checkout@v3
1919
with:
@@ -56,7 +56,7 @@ jobs:
5656
path: eform-angular-greate-belt-plugin
5757
- name: Extract branch name
5858
id: extract_branch
59-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
59+
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
6060
- uses: actions/download-artifact@v4
6161
with:
6262
name: greate-belt-container

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,5 +350,6 @@ MigrationBackup/
350350
.ionide/
351351
/eFormAPI/eFormAPI.Web/Plugins/GreateBelt.Pn/net5.0
352352
/eFormAPI/eFormAPI.Web/Plugins/GreateBelt.Pn/net6.0
353+
/eFormAPI/eFormAPI.Web/Plugins/GreateBelt.Pn/net10.0
353354
/eform-client/.idea
354355
.idea

eFormAPI/Plugins/GreateBelt.Pn/GreateBelt.Pn/EformGreateBeltPlugin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public class EformGreateBeltPlugin : IEformPlugin
5151
public string PluginPath => PluginAssembly().Location;
5252
public string PluginBaseUrl => "greate-belt-pn";
5353

54-
private string _connectionString;
5554
//private IBus _bus;
5655

5756
public Assembly PluginAssembly()
@@ -125,7 +124,6 @@ public void ConfigureDbContext(IServiceCollection services, string connectionStr
125124
{
126125
builder.EnableRetryOnFailure();
127126
builder.MigrationsAssembly(PluginAssembly().FullName);
128-
builder.TranslateParameterizedCollectionsToConstants();
129127
}));
130128
}
131129

0 commit comments

Comments
 (0)