Commit 7762e451 authored by leoylung's avatar leoylung Committed by Todd Volkert

Check null on componentName (#20560)

parent 4b6cc473
......@@ -90,7 +90,7 @@ Future<Null> writeFuchsiaManifest(AssetBundle assets, String outputBase, String
for (String path in assets.entries.keys) {
outFile.write('data/$path=$outputBase/$path\n');
if (componentName.isNotEmpty) {
if (componentName != null && componentName.isNotEmpty) {
outFile.write('data/$componentName/$path=$outputBase/$path\n');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment