fix up verbiage

Signed-off-by: George Jenkins <gvjenkins@gmail.com>
pull/30891/head
George Jenkins 3 months ago
parent 5f9cbe6f4a
commit 62ca98f521

@ -83,7 +83,7 @@ type Metadata struct {
PlatformCommand []PlatformCommand `json:"platformCommand"` PlatformCommand []PlatformCommand `json:"platformCommand"`
// Command is the plugin command, as a single string. // Command is the plugin command, as a single string.
// Providing a command will result in an deprecation warning if PlatformCommand is also set. // Providing Command and PlatformCommand will result in a warning being emitted (PlatformCommand takes precedence).
// //
// The command will be passed through environment expansion, so env vars can // The command will be passed through environment expansion, so env vars can
// be present in this command. Unless IgnoreFlags is set, this will // be present in this command. Unless IgnoreFlags is set, this will
@ -119,7 +119,7 @@ type Metadata struct {
PlatformHooks PlatformHooks `json:"platformHooks"` PlatformHooks PlatformHooks `json:"platformHooks"`
// Hooks are commands that will run on plugin events, as a single string. // Hooks are commands that will run on plugin events, as a single string.
// Providing a command will result in an deprecation warning if PlatformHooks is also set. // Providing Hook and PlatformHooks will result in a warning being emitted (PlatformHooks takes precedence).
// //
// The command will be passed through environment expansion, so env vars can // The command will be passed through environment expansion, so env vars can
// be present in this command. // be present in this command.

Loading…
Cancel
Save