From 16faa0f595eb7f96cea20b8ae7a20227badb78c1 Mon Sep 17 00:00:00 2001 From: Baudin Date: Tue, 24 Dec 2019 14:17:15 +0100 Subject: [PATCH] Fixing bugs and running new pipeline configuration --- .gitignore | 4 +++- .travis.yml | 2 +- Mapper.JSON/ASTTypeToJSchema.cs | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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)