We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf8ae6 commit f0e671eCopy full SHA for f0e671e
crates/processing_render/src/lib.rs
@@ -46,13 +46,12 @@ 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
- && 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
- }
+ if has_sketch_file && let Some(sketch_path) = config.get(ConfigKey::SketchRootPath) {
+ app.register_asset_source(
+ "sketch_directory",
+ AssetSourceBuilder::platform_default(sketch_path, None),
+ );
+ }
56
57
if has_sketch_file {
58
app.add_plugins(sketch::LivecodePlugin);
0 commit comments