chore(windows): fix the build.dart task

This commit is contained in:
Marc Laval
2015-06-23 17:18:04 +02:00
parent 7e8a2b9cec
commit ecb2bd0cbe
3 changed files with 7 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class Codegen {
{String prefix})
: this.prefix = prefix == null ? _PREFIX_BASE : prefix,
importUris = newEntryPointPaths.map((p) =>
path.relative(p, from: path.dirname(reflectionEntryPointPath))) {
path.relative(p, from: path.dirname(reflectionEntryPointPath)).replaceAll('\\', '/')) {
if (this.prefix.isEmpty) throw new ArgumentError.value('(empty)', 'prefix');
}