-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds ModuleConfig.Validate() to allow pre-flight checks on source (#281)
This adds `ModuleConfig.Validate()` as needed by wapc-go to ensure a module instantiated many times later is checked first. This is a method of config in case we later add the ability to force a format. For now, it relies on detection and the call-site only use binary anyway. Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
1 parent
0186e41
commit fc26fdd
Showing
2 changed files
with
55 additions
and
2 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