Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows not recognized properly #1

Open
UlrichAlt opened this issue Jul 9, 2013 · 0 comments
Open

Windows not recognized properly #1

UlrichAlt opened this issue Jul 9, 2013 · 0 comments

Comments

@UlrichAlt
Copy link

Look at this example in node_shims/path.dart

_PathExports _factory(){
var exports = new _PathExports();

var isWindows = Platform.operatingSystem == 'win32';

if (isWindows) {
// Regex to split a windows path into three parts: [*, device, slash,
// tail] windows-only

However, Platform.operatingSystem returns "windows" in my case instead of win32 which makes the whole thing believe to run on linux and therefore fails the whole build system for templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant