Register prepared glossary input identities
This commit is contained in:
@@ -48,6 +48,9 @@ type PreparedInputIdentity struct {
|
||||
func ResolvePreparedInput(paths SessionPaths, m *manifest.Manifest, sourceID string) (PreparedInputIdentity, error) {
|
||||
descriptor, ok := artifactpolicy.DescribePreparedInputSource(sourceID)
|
||||
if !ok {
|
||||
if sourceID == artifactpolicy.SourceInputGlossary {
|
||||
return PreparedInputIdentity{}, fmt.Errorf("retired prepared input source %q: select an explicit narratio.input.glossary.<party|campaign|setting|spells> source", sourceID)
|
||||
}
|
||||
return PreparedInputIdentity{}, fmt.Errorf("unsupported prepared input source %q", sourceID)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user