vovk 0.2.3-beta.37 → 0.2.3-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/generateClient.js +2 -2
- package/package.json +1 -1
package/cli/generateClient.js
CHANGED
|
@@ -20,10 +20,10 @@ async function generateClient(rcPath) {
|
|
|
20
20
|
const vovkrc = getVovkrc(rcPath);
|
|
21
21
|
const jsonPath = '../../.vovk.json';
|
|
22
22
|
const localJsonPath = path.join('..', jsonPath);
|
|
23
|
-
const fetcherPath = vovkrc.fetcher.startsWith('.') ? path.join(
|
|
23
|
+
const fetcherPath = vovkrc.fetcher.startsWith('.') ? path.join('../..', vovkrc.fetcher) : vovkrc.fetcher;
|
|
24
24
|
|
|
25
25
|
const streamFetcherPath = vovkrc.streamFetcher.startsWith('.')
|
|
26
|
-
? path.join(
|
|
26
|
+
? path.join('../..', vovkrc.streamFetcher)
|
|
27
27
|
: vovkrc.streamFetcher;
|
|
28
28
|
const validatePath = vovkrc.validateOnClient?.startsWith('.')
|
|
29
29
|
? path.join(__dirname, '../..', vovkrc.validateOnClient)
|