From 10665bb8477594cb8c1ac0a2e9ac2f66ca970e63 Mon Sep 17 00:00:00 2001 From: Boris Buegling Date: Thu, 4 Jan 2024 12:51:57 -0800 Subject: [PATCH] Emit a deprecation warning for `--skip-update` rdar://117765416 --- Sources/CoreCommands/SwiftTool.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/CoreCommands/SwiftTool.swift b/Sources/CoreCommands/SwiftTool.swift index bed39798637..0ed863b0098 100644 --- a/Sources/CoreCommands/SwiftTool.swift +++ b/Sources/CoreCommands/SwiftTool.swift @@ -395,6 +395,10 @@ public final class SwiftTool { return workspace } + if options.resolver.skipDependencyUpdate { + self.observabilityScope.emit(warning: "'--skip-update' option is deprecated and will be removed in a future release") + } + let delegate = self.workspaceDelegateProvider( self.observabilityScope, self.observabilityHandler.print,