'use strict';
var path = require('path');
var isglob = require('is-glob');
module.exports = functionglobParent(str) {
str += 'a'; // preserves full path in case of trailing path separatordo {str = path.dirname(str)} while (isglob(str));
return str;
};