Skip to content

Commit

Permalink
Fix dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed May 19, 2021
1 parent dd08c82 commit a0a5f1b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion external/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
root = true

# ignore submodule
[gcm/**]
[**]
generated_code = true
4 changes: 2 additions & 2 deletions src/dotnet-tor/ConfigureCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ async Task RunAsync()
"notepad.exe" : "nano");

var configPath = Path.Combine(
settings.ExtractedToolsDirectory,
Path.GetFileNameWithoutExtension(zipPath),
settings.ExtractedToolsDirectory,
Path.GetFileNameWithoutExtension(zipPath),
"Data", "Tor", "torrc");

var torProxy = new TorSharpProxy(settings);
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet-tor/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"dotnet-tor": {
"commandName": "Project",
"commandLineArgs": "config"
"commandLineArgs": "-?"
}
}
}
4 changes: 2 additions & 2 deletions src/dotnet-tor/TorCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async Task RunAsync(int proxy, int socks, int control, CancellationToken cancell
ExtractedToolsDirectory = Path.Combine(torPath, "bin"),
PrivoxySettings =
{
Port = proxy,
Port = proxy,
},
TorSettings =
{
Expand All @@ -48,7 +48,7 @@ async Task RunAsync(int proxy, int socks, int control, CancellationToken cancell
},
};

await AnsiConsole.Status().StartAsync("Fetching Tor tools",
await AnsiConsole.Status().StartAsync("Fetching Tor tools",
async _ => await new TorSharpToolFetcher(settings, new HttpClient()).FetchAsync());

cancellation.ThrowIfCancellationRequested();
Expand Down

0 comments on commit a0a5f1b

Please sign in to comment.