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