UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

15 lines (11 loc) 236 B
'use strict'; var path = require('path'); var pathIsInside = require('path-is-inside'); module.exports = function (a, b) { a = path.resolve(a); b = path.resolve(b); if (a === b) { return false; } return pathIsInside(a, b); };