quick fix for windows
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a7c6323..f3b7f27 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.1.0+1
+
+Quick fix for the transformer on windows.
+
## 0.1.0
Initial beta release. There is one notable missing feature in the release
diff --git a/lib/transformer.dart b/lib/transformer.dart
index d304b17..081a8c6 100644
--- a/lib/transformer.dart
+++ b/lib/transformer.dart
@@ -229,8 +229,8 @@
buffer.write("import 'package:${id.package}/${packagePath}'");
} else if (id.package != _newEntryPoint.package) {
_logger.error("Can't import `${id}` from `${_newEntryPoint}`");
- } else if (id.path.split(path.separator)[0] ==
- _newEntryPoint.path.split(path.separator)[0]) {
+ } else if (path.url.split(id.path)[0] ==
+ path.url.split(_newEntryPoint.path)[0]) {
var relativePath =
path.relative(id.path, from: path.dirname(_newEntryPoint.path));
buffer.write("import '${relativePath}'");
diff --git a/pubspec.yaml b/pubspec.yaml
index e86efca..fe32be2 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: initialize
-version: 0.1.0
+version: 0.1.0+1
author: Polymer.dart Authors <web@dartlang.org>
description: Generic building blocks for doing static initialization.
homepage: https://github.com/dart-lang/initialize