Skip to content

Commit

Permalink
Fix/hack build to be clean
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbilas committed Nov 11, 2023
1 parent 2c67103 commit 0f0ae5f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/Flog.Cli/Screen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ async void Wrap(Action action)

public void Dispose()
{
if (_disposed.IsCancellationRequested)
throw new ObjectDisposedException("Instance already disposed");
ObjectDisposedException.ThrowIf(_disposed.IsCancellationRequested, this);
_disposed.Cancel(); // don't dispose, let finalizer get it

/* https://github.com/gdamore/tcell/v2/tscreen.go
Expand Down
6 changes: 3 additions & 3 deletions src/MachMode.Cli/ConfigModel.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class ConfigModel
{
public Location[] Locations;
//public Location[] Locations;

}

class Location
{
public string Name;
//public string Name;
// TODO: add ways of detecting location (note that they are not necessarily mutually exclusive)
}

class Capability
{
public string Name;
//public string Name;
}
2 changes: 1 addition & 1 deletion src/MachMode.Cli/MachModeCli-Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="MachModeCli.csproj" />
<ProjectReference Include="MachMode.Cli.csproj" />
</ItemGroup>

</Project>

0 comments on commit 0f0ae5f

Please sign in to comment.