Skip to content

Commit eff0fe2

Browse files
authored
Merge pull request #16 from nasshu2916/add-typos-ci
CI に typos 追加
2 parents 03f0cce + ff1fac7 commit eff0fe2

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/format.yml renamed to .github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
steps:
99
- name: Checkout repo
1010
uses: actions/checkout@v4
11+
- name: Check typo
12+
uses: crate-ci/[email protected]
1113
- name: Setup .NET Core
1214
uses: actions/setup-dotnet@v4
1315
with:

.typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[files]
2+
extend-exclude = [
3+
"*.asset",
4+
"*.unity"
5+
]

Assets/ArtNet/Runtime/Scripts/UdpReceiver.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public sealed class UdpReceiver
1818
public bool IsRunning => _task is { IsCanceled: false, IsCompleted: false };
1919

2020
public ReceivedPacketEventHandler OnReceivedPacket = (_, _, _) => { };
21-
public ErrorOccuredEventHandler OnUdpStartFailed = _ => { };
22-
public ErrorOccuredEventHandler OnUdpReceiveFailed = _ => { };
23-
public ErrorOccuredEventHandler OnUdpReceiveRaiseException = _ => { };
21+
public ErrorOccurredEventHandler OnUdpStartFailed = _ => { };
22+
public ErrorOccurredEventHandler OnUdpReceiveFailed = _ => { };
23+
public ErrorOccurredEventHandler OnUdpReceiveRaiseException = _ => { };
2424

2525
public delegate void ReceivedPacketEventHandler(byte[] receiveBuffer, int length, EndPoint remoteEp);
26-
public delegate void ErrorOccuredEventHandler(Exception e);
26+
public delegate void ErrorOccurredEventHandler(Exception e);
2727
public UdpReceiver(int port)
2828
{
2929
Port = port;

0 commit comments

Comments
 (0)