Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate plugin metadata before loading
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
- Loading branch information
Matthew Fisher
committed
Sep 17, 2020
1 parent
f65808b
commit b0296c0
Showing
9 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
pkg/plugin/testdata/plugdir/bad/duplicate-entries/plugin.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "duplicate-entries" | ||
version: "0.1.0" | ||
usage: "usage" | ||
description: |- | ||
description | ||
command: "echo hello" | ||
useTunnel: true | ||
ignoreFlags: true | ||
hooks: | ||
install: "echo installing..." | ||
hooks: | ||
install: "echo installing something different" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters