* Add csproj changes related to pull #54 * Add null check
This commit is contained in:
Родитель
789c42dbcb
Коммит
b8bef94a5f
|
@ -17,8 +17,8 @@ namespace SourcemapToolkit.SourcemapParser
|
|||
File = sourceMap.File,
|
||||
Version = sourceMap.Version,
|
||||
Mappings = sourceMap.Mappings,
|
||||
Sources = new List<string>(sourceMap.Sources),
|
||||
Names = new List<string>(sourceMap.Names),
|
||||
Sources = sourceMap.Sources == null ? null : new List<string>(sourceMap.Sources),
|
||||
Names = sourceMap.Names == null ? null : new List<string>(sourceMap.Names),
|
||||
ParsedMappings = new List<MappingEntry>()
|
||||
};
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SourceMapGenerator.cs" />
|
||||
<Compile Include="SourceMapParser.cs" />
|
||||
<Compile Include="SourceMapTransformer.cs" />
|
||||
<Compile Include="SourcePosition.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
<Compile Include="MappingsListParserUnitTests.cs" />
|
||||
<Compile Include="SourceMapGeneratorUnitTests.cs" />
|
||||
<Compile Include="SourceMapParserUnitTests.cs" />
|
||||
<Compile Include="SourceMapTransformerUnitTests.cs" />
|
||||
<Compile Include="SourceMapUnitTests.cs" />
|
||||
<Compile Include="SourcePositionUnitTests.cs" />
|
||||
<Compile Include="UnitTestUtils.cs" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче