summaryrefslogtreecommitdiff
path: root/cli/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/fs.rs')
-rw-r--r--cli/fs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/fs.rs b/cli/fs.rs
index 83dec4913..2aedf1e34 100644
--- a/cli/fs.rs
+++ b/cli/fs.rs
@@ -46,6 +46,8 @@ pub fn write_file_2<T: AsRef<[u8]>>(
file.write_all(data.as_ref())
}
+/// IMPORTANT: This method is duplicated in core/module_specifier.rs
+///
/// Normalize all itermediate components of the path (ie. remove "./" and "../" components).
/// Similar to `fs::canonicalize()` but doesn't resolve symlinks.
///