Enable additional concurrency warnings (#281)

* Turn on warnings

* Turn on warnings

* Fix warnings
This commit is contained in:
Max Goedjen
2021-12-14 21:03:42 -08:00
committed by GitHub
parent 86719e893b
commit cda56ea14b
6 changed files with 8 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ struct ShellConfigurationController {
}
func addToShell(shellInstructions: ShellConfigInstruction) -> Bool {
@MainActor func addToShell(shellInstructions: ShellConfigInstruction) -> Bool {
let openPanel = NSOpenPanel()
// This is sync, so no need to strongly retain
let delegate = Delegate(name: shellInstructions.shellConfigFilename)