Skip to content

Commit

Permalink
Merge pull request #6 from RadioSystems/develop
Browse files Browse the repository at this point in the history
Maybe this will make it work.
  • Loading branch information
phillipsj authored Apr 3, 2017
2 parents 0809d38 + cc55aa6 commit b11e6f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ Cake Addin for working with CSV files using the CSVHelper library.
| | Stable | Pre-release |
|---|---|---|
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/Cake.CsvHelper/Cake.CsvHelper.svg)](https://github.com/RadioSystems/Cake.CsvHelper/releases/latest)|
|NuGet|[![NuGet](https://img.shields.io/nuget/v/Cake.CsvHelper.svg)](https://www.nuget.org/packages/Cake.CsvHelper)
|[![NuGet](https://img.shields.io/nuget/vpre/Cake.CsvHelper.svg)](https://www.nuget.org/packages/Cake.CsvHelper)|
|NuGet|[![NuGet](https://img.shields.io/nuget/v/Cake.CsvHelper.svg)](https://www.nuget.org/packages/Cake.CsvHelper)|[![NuGet](https://img.shields.io/nuget/vpre/Cake.CsvHelper.svg)](https://www.nuget.org/packages/Cake.CsvHelper)|
|MyGet|

## Build Status

|Develop|Master|
|:--:|:--:|
|[![Build status](https://ci.appveyor.com/api/projects/status/k68c22sa0um8an29?svg=true)](https://ci.appveyor.com/project/RadioSystems/cake-csvhelper/branch/develop)
|[![Build status](https://ci.appveyor.com/api/projects/status/k68c22sa0um8an29/branch/develop?svg=true)](https://ci.appveyor.com/project/RadioSystems/cake-csvhelper/branch/master)|
|[![Build status](https://ci.appveyor.com/api/projects/status/k68c22sa0um8an29?svg=true)](https://ci.appveyor.com/project/RadioSystems/cake-csvhelper/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/k68c22sa0um8an29/branch/develop?svg=true)](https://ci.appveyor.com/project/RadioSystems/cake-csvhelper/branch/master)|

## Code Coverage

Expand Down
3 changes: 2 additions & 1 deletion src/Cake.CsvHelper/CsvHelpers.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Cake.Core;
using Cake.Core.IO;
using CsvHelper;
Expand Down Expand Up @@ -45,7 +46,7 @@ public IEnumerable<T> ReadRecords<T>(FilePath csvFile, CsvClassMap classMap, Csv
if (classMap != null) {
csvReader.Configuration.RegisterClassMap(classMap);
}
return csvReader.GetRecords<T>();
return csvReader.GetRecords<T>().ToList();
}
}

Expand Down

0 comments on commit b11e6f3

Please sign in to comment.