mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-07 20:03:23 +00:00
8 lines
147 B
JavaScript
8 lines
147 B
JavaScript
'use strict';
|
|
|
|
const path = require('path');
|
|
|
|
module.exports = function(dir, filename) {
|
|
return /^\.\./.test(path.relative(dir, filename));
|
|
};
|