code: async function getTrueFilePath(p) {
    let fsPathNormalized = p;
    // OSX: HFS+ stores filenames in NFD (decomposed normal form) Unicode format,
    // so we must ensure that the input path is in that format first.
    if (process.platform === 'darwin')
      fsPathNormalized = fsPathNormalized.normalize('NFD');
  
    // !! Windows: Curiously, the drive component mustn't be part of a glob,
    // !! otherwise glob.sync() will invariably match nothing.
    // !! Thus, we remove the drive component and instead pass it in as the 'cwd'
    // !! (working dir.) property below.
    const pathRoot = parse(fsPathNormalized).root;
    const noDrivePath = fsPathNormalized.slice(Math.max(pathRoot.length - 1, 0));
  
    // Perform case-insensitive globbing (on Windows, relative to the drive /
    // network share) and return the 1st match, if any.
    // Fortunately, glob() with nocase case-corrects the input even if it is
    // a *literal* path.
    const result = await glob(noDrivePath, { nocase: true, cwd: pathRoot });
    return result[0];
  }
docs: This is based on the stackoverflow answer: http://stackoverflow.com/a/33139702/457224 We assume we'll get properly normalized path names as p