Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions crates/bitang/src/engine/control/controls.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use std::cell::{Cell, RefCell};
use std::cmp::max;
use std::path::Path;

use dunce::simplified;
use std::rc::Rc;
use std::{array, mem};

use ahash::AHashSet;
use anyhow::{Context, Result};
use dashmap::mapref::entry::Entry::{Occupied, Vacant};
Expand Down Expand Up @@ -205,7 +206,7 @@ impl ControlRepository {
#[instrument]
pub fn load_control_files(root_path: &Path) -> Result<Self> {
let by_id = DashMap::new();
let path = root_path.join(CHARTS_FOLDER);
let path = simplified(root_path).join(CHARTS_FOLDER);
for entry in std::fs::read_dir(path)? {
let entry = entry?;
let path = entry.path();
Expand Down