|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
264 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | const path = require('path');
|
|---|
| 4 | const pkgUp = require('./pkgUp').default;
|
|---|
| 5 |
|
|---|
| 6 | exports.__esModule = true;
|
|---|
| 7 |
|
|---|
| 8 | /** @type {import('./pkgDir').default} */
|
|---|
| 9 | exports.default = function (cwd) {
|
|---|
| 10 | const fp = pkgUp({ cwd });
|
|---|
| 11 | return fp ? path.dirname(fp) : null;
|
|---|
| 12 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.