We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb2b77c commit adf8ae6Copy full SHA for adf8ae6
crates/processing_render/src/lib.rs
@@ -46,14 +46,13 @@ impl Plugin for ProcessingRenderPlugin {
46
let has_sketch_file = config
47
.get(ConfigKey::SketchFileName)
48
.is_some_and(|f| !f.is_empty());
49
- if has_sketch_file {
50
- if let Some(sketch_path) = config.get(ConfigKey::SketchRootPath) {
+ if has_sketch_file
+ && let Some(sketch_path) = config.get(ConfigKey::SketchRootPath) {
51
app.register_asset_source(
52
"sketch_directory",
53
AssetSourceBuilder::platform_default(sketch_path, None),
54
);
55
}
56
- }
57
58
if has_sketch_file {
59
app.add_plugins(sketch::LivecodePlugin);
0 commit comments