|
Last change
on this file since 99ab276 was 9af201e, checked in by MBK <marija.karapandzova@…>, 3 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
239 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | const path = require('path');
|
|---|
| 4 | const minimatch = require('minimatch');
|
|---|
| 5 |
|
|---|
| 6 | const dot = { dot: true };
|
|---|
| 7 |
|
|---|
| 8 | module.exports = function(dir, filename) {
|
|---|
| 9 | return !minimatch(path.resolve(dir, filename), path.join(dir, '**'), dot);
|
|---|
| 10 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.