Skip to content

Commit 3a046fa

Browse files
committed
Fix censoring I hope
1 parent f056a2b commit 3a046fa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ComputerUtils

QuestAppVersionSwitcher/Adb/AdbWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static ExitInfo RunAdbCommand(string arguments, AdbDevice? device = null)
9494
StartServer();
9595
if(device != null) {
9696
arguments = "-s \"" + device.id + "\" " + arguments;
97-
if(!Logger.notAllowedStrings.Contains(device.id)) Logger.notAllowedStrings.Add(device.id);
97+
if(!Logger.notAllowedStrings.ContainsKey(device.id)) Logger.notAllowedStrings.Add(device.id, "<device-id-censored>");
9898
}
9999

100100
var procStartInfo = new ProcessStartInfo(AdbPath)

0 commit comments

Comments
 (0)