diff --git a/.circleci/config.yml b/.circleci/config.yml index 1082f5e..78efe6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,9 @@ workflows: - latest - lts - maintenance + exclude: + - os: windows + node_version: latest - release-management/release-package: context: SF-CLI-RELEASE-PROCESS filters: diff --git a/src/plugin.ts b/src/plugin.ts index 3018c71..c34631b 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -150,7 +150,7 @@ async function findRoot(name: string | undefined, root: string) { if (name) { let pkgPath try { - pkgPath = resolvePackage(name, {paths: [__dirname, root]}) + pkgPath = resolvePackage(name, {paths: [root]}) } catch (error) {} return pkgPath ? findSourcesRoot(path.dirname(pkgPath)) : findRootLegacy(name, root) }