mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-25 18:49:50 -04:00
MAINT: Remove dbg! macro uses.
This commit is contained in:
parent
27011769dd
commit
db610c56f9
@ -128,7 +128,7 @@ impl Builtins {
|
|||||||
// other Operating Systems.
|
// other Operating Systems.
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
Ok(dbg!(normalized))
|
Ok(normalized)
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
{
|
{
|
||||||
@ -195,9 +195,9 @@ impl Builtins {
|
|||||||
if let &Value::P(Str(ref path)) = val.as_ref() {
|
if let &Value::P(Str(ref path)) = val.as_ref() {
|
||||||
// TODO(jwall): A bit hacky we should probably change import stacks to be pathbufs.
|
// TODO(jwall): A bit hacky we should probably change import stacks to be pathbufs.
|
||||||
let normalized =
|
let normalized =
|
||||||
decorate_error!(path_pos => self.normalize_path(base_path, false, dbg!(path)))?;
|
decorate_error!(path_pos => self.normalize_path(base_path, false, path))?;
|
||||||
// first we chack the cache
|
// first we chack the cache
|
||||||
let path = dbg!(normalized.to_string_lossy().to_string());
|
let path = normalized.to_string_lossy().to_string();
|
||||||
if let Some(val) = env.borrow().get_cached_path_val(&path) {
|
if let Some(val) = env.borrow().get_cached_path_val(&path) {
|
||||||
stack.push((val, path_pos));
|
stack.push((val, path_pos));
|
||||||
return Ok(());
|
return Ok(());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user