Skip to content

Commit

Permalink
Merge pull request #31 from LokiMidgard/AcceptUrl
Browse files Browse the repository at this point in the history
accepts now url additionally to files.
  • Loading branch information
mganss authored May 23, 2017
2 parents c80d625 + f7a5dc6 commit 2bd7ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
return;
}

files = files.SelectMany(f => Glob.Glob.ExpandNames(f)).ToList();
files = files.SelectMany(f => Glob.Glob.ExpandNames(f)).Concat(files.Where(f => Uri.IsWellFormedUriString(f, UriKind.Absolute))).ToList();

var namespaceMap = namespaces.Select(n => ParseNamespace(n, namespacePrefix)).ToNamespaceProvider(key =>
{
Expand Down

0 comments on commit 2bd7ed4

Please sign in to comment.