1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-11 15:01:57 +00:00
2017-09-28 13:08:25 +02:00

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"));