Skip to content

Commit 426c539

Browse files
committed
respect cds.root for plugin discover fts features
1 parent 2cc9316 commit 426c539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const _registerClientCloseOnShutdown = () => {
141141
};
142142

143143
const _discoverFtsAutoConfig = async () => {
144-
const root = process.env.ROOT ?? process.cwd();
144+
const root = process.env.ROOT ?? cds.root ?? process.cwd();
145145
const ftsRoot = pathlib.join(root, "fts");
146146
let result;
147147
try {

0 commit comments

Comments
 (0)