Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1850961

Browse files
committed
fix web_sdk
1 parent fdc50b8 commit 1850961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_sdk/sdk_rewriter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void main(List<String> arguments) {
111111
if (results['ui'] as bool) {
112112
replacementPatterns = uiPatterns;
113113
} else {
114-
libraryName = results['library-name'] as String;
114+
libraryName = results['library-name'] as String?;
115115
if (libraryName == null) {
116116
throw Exception('library-name must be specified if not rewriting ui');
117117
}

0 commit comments

Comments
 (0)