You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: