mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
9 lines
267 B
TypeScript
9 lines
267 B
TypeScript
import { normalizePath, resolvePath } from "../src/util";
|
|
import * as path from "path";
|
|
|
|
let test = "./Y/./N/./N/../../././../Y/./.";
|
|
console.log(normalizePath(test));
|
|
console.log(path.posix.normalize(test));
|
|
|
|
console.log(resolvePath("../../..", "lib/util/i64.ts"));
|