mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Run CI for non master branches (#2763)
* ci: run CI on PRs not targeting master * fix warnings when compiling tests
This commit is contained in:
@@ -227,8 +227,9 @@ impl NodeRuntime {
|
||||
}
|
||||
|
||||
async fn update_network(&mut self, mut graph: NodeNetwork) -> Result<ResolvedDocumentNodeTypesDelta, String> {
|
||||
#[cfg(not(test))]
|
||||
preprocessor::expand_network(&mut graph, &self.substitutions);
|
||||
if cfg!(not(test)) {
|
||||
preprocessor::expand_network(&mut graph, &self.substitutions);
|
||||
}
|
||||
|
||||
let scoped_network = wrap_network_in_scope(graph, self.editor_api.clone());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user