Skip to content

Commit f0e671e

Browse files
committed
fmt
1 parent adf8ae6 commit f0e671e

File tree

1 file changed

+6
-7
lines changed
  • crates/processing_render/src

1 file changed

+6
-7
lines changed

crates/processing_render/src/lib.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,12 @@ impl Plugin for ProcessingRenderPlugin {
4646
let has_sketch_file = config
4747
.get(ConfigKey::SketchFileName)
4848
.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-
}
49+
if has_sketch_file && let Some(sketch_path) = config.get(ConfigKey::SketchRootPath) {
50+
app.register_asset_source(
51+
"sketch_directory",
52+
AssetSourceBuilder::platform_default(sketch_path, None),
53+
);
54+
}
5655

5756
if has_sketch_file {
5857
app.add_plugins(sketch::LivecodePlugin);

0 commit comments

Comments
 (0)