0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/path-resolve.js

5 lines
187 B
JavaScript
Raw Normal View History

// Tests resolving a path in the context of a spawned process.
// See https://github.com/nodejs/node/issues/7215
const path = require('path');
console.log(path.resolve(process.argv[2]));