Skip to content

Commit

Permalink
- changed conditional imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Babich authored and Alex Babich committed Jul 3, 2024
1 parent 5aef6f5 commit a01bb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/getsid.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Conditionally import the FFI version, so this doesn't break web builds.
export 'getsid_stub.dart' if (dart.library.ffi) 'getsid_windows.dart';
export 'getsid_stub.dart' if (dart.library.io) 'getsid_windows.dart';
2 changes: 1 addition & 1 deletion lib/src/getuid.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Conditionally import the FFI version, so this doesn't break web builds.
export 'getuid_stub.dart' if (dart.library.ffi) 'getuid_linux.dart';
export 'getuid_stub.dart' if (dart.library.io) 'getuid_linux.dart';

0 comments on commit a01bb05

Please sign in to comment.