setup-kubectl/node_modules/test-exclude/is-outside-dir-posix.js
github-actions[bot] 7f7e5ba5ea
Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-21 12:18:30 -04:00

7 lines
147 B
JavaScript

'use strict';
const path = require('path');
module.exports = function(dir, filename) {
return /^\.\./.test(path.relative(dir, filename));
};