diff --git a/.gitignore b/.gitignore index 01013d0..0390c0b 100644 --- a/.gitignore +++ b/.gitignore @@ -409,4 +409,6 @@ ASALocalRun/ .localhistory/ -NuGetScratch/ \ No newline at end of file +NuGetScratch/ +VBCSCompiler/ +.dotnet/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index de3f93f..1b84466 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ mono: none script: - sudo snap alias dotnet-sdk.dotnet dotnet - dotnet build --configuration Release - - dotnet test + - dotnet test ./CompilerTests before_deploy: - NAME=$(git describe --tag --abbrev=0) - bash ./release.sh $NAME $ZDragon_GitHub_Token diff --git a/Mapper.JSON/ASTTypeToJSchema.cs b/Mapper.JSON/ASTTypeToJSchema.cs index 67eea20..560335e 100644 --- a/Mapper.JSON/ASTTypeToJSchema.cs +++ b/Mapper.JSON/ASTTypeToJSchema.cs @@ -187,7 +187,7 @@ private void AddReference(string name, JSchema jSchema) ASTAlias n => MapASTAlias(n), ASTChoice n => MapASTChoice(n), ASTData n => MapASTData(n), - _ => throw new NotImplementedException("Not implemented.") + _ => new JSchema() }; if (result != null)