nl_tokens: Fixes up relative paths that are no longer valid due to chdir () within cdProjectRoot () .
pl_tokens: function fixRelativePath ( value , /* optional */ cwd ) { // Don't touch absolute paths. if ( value [ 1 ] === ':' || value [ 0 ] === path . sep ) { return value ; } var newDir = cwd || process . env . PWD || process . cwd ( ) ; var origDir = getOrigWorkingDirectory ( ) ; var pathDiff = path . relative ( newDir , origDir ) ; var ret = path . normalize ( path . join ( pathDiff , value ) ) ; return <mask> ; }