Skip to content

Commit

Permalink
Fix incorrect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric L. Charlier committed Aug 10, 2016
1 parent 24056a7 commit f742cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NBi.Core/Batch/BatchRunnerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public IDecorationCommandImplementation Get(IBatchCommand command)
var connection = connectionFactory.Get(command.ConnectionString);

var directory = AssemblyDirectory;
var filename = $"NBi.Core.{command.Version}.dll";
var filepath = $"{directory}\\{filename}";
var filename = string.Format("NBi.Core.{0}.dll", command.Version);
var filepath = string.Format("{0}\\{1}", directory, filename);
if (!File.Exists(filepath))
throw new InvalidOperationException(string.Format("Can't find the dll for version '{0}' in '{1}'. NBi was expecting to find a dll named '{2}'.", "2014", directory, filename));

Expand Down

0 comments on commit f742cee

Please sign in to comment.