Pathologic was missing because of a .git folder inside.
[yaffs-website] / node_modules / glob-parent / index.js
1 'use strict';
2
3 var path = require('path');
4 var isglob = require('is-glob');
5
6 module.exports = function globParent(str) {
7         str += 'a'; // preserves full path in case of trailing path separator
8         do {str = path.dirname(str)} while (isglob(str));
9         return str;
10 };