lib/path-helper.js
function (filePath)
    {
        if (0 === filePath.indexOf(process.cwd()))
        {
            filePath = path.relative(process.cwd(), filePath);
        }

        if (0 !== filePath.indexOf("./") && 0 !== filePath.indexOf("/"))
        {
            filePath = "./" + filePath;
        }

        return filePath;
    }
function (filePath)
    {
        if (0 === filePath.indexOf(process.cwd()))
        {
            filePath = path.relative(process.cwd(), filePath);
        }

        if (0 !== filePath.indexOf("./") && 0 !== filePath.indexOf("/"))
        {
            filePath = "./" + filePath;
        }

        return filePath;
    }
function ( filePath ) { if ( 0 === filePath . indexOf ( process . cwd ( ) ) ) { filePath = path . relative ( process . cwd ( ) , filePath ) ; } if ( 0 !== filePath . indexOf ( "./" ) && 0 !== filePath . indexOf ( "/" ) ) { filePath = "./" + filePath ; } return filePath ; }
Makes the file path relative

@param {string} filePath
@returns {string}
Makes the file path relative