mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
use findFile() api
This commit is contained in:
1 parent
8a8e312ca4
commit
9a538130ee
10 files changed
+105
-52
No files matched your search
+1
-2
@@ -1,10 +1,9 @@
|
||||
/* eslint-disable no-console */
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import path from 'path';
|
||||
import globby from 'globby';
|
||||
import spawn from 'cross-spawn';
|
||||
|
||||
export const cwd = path.resolve(__dirname, '..');
|
||||
export const cwd = process.cwd();
|
||||
|
||||
export function getWorkspaces() {
|
||||
return globby(require('../package').workspaces, {
|
||||
|
||||
Reference in new issue
Block a user