@dosu/cli 0.11.0-alpha.1 → 0.11.0-alpha.2
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/bin/dosu.js +6 -2
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -4341,7 +4341,7 @@ function getSupabaseAnonKey() {
|
|
|
4341
4341
|
function getVersionString() {
|
|
4342
4342
|
return `v${VERSION}`;
|
|
4343
4343
|
}
|
|
4344
|
-
var VERSION = "0.11.0-alpha.
|
|
4344
|
+
var VERSION = "0.11.0-alpha.2";
|
|
4345
4345
|
|
|
4346
4346
|
// src/debug/logger.ts
|
|
4347
4347
|
import {
|
|
@@ -7903,7 +7903,11 @@ async function waitForImportableGithubFiles(trpc, orgID, spaceID) {
|
|
|
7903
7903
|
spinner.stop("Docs ready");
|
|
7904
7904
|
return latestFiles;
|
|
7905
7905
|
}
|
|
7906
|
-
await fetchGitHubDataSources(trpc, orgID);
|
|
7906
|
+
const dataSources = await fetchGitHubDataSources(trpc, orgID);
|
|
7907
|
+
if (dataSources.length > 0 && dataSources.every((ds) => ds.is_indexed === true)) {
|
|
7908
|
+
spinner.stop("No markdown docs found");
|
|
7909
|
+
return [];
|
|
7910
|
+
}
|
|
7907
7911
|
await sleep3(DOC_SCAN_POLL_INTERVAL_MS);
|
|
7908
7912
|
}
|
|
7909
7913
|
spinner.stop("Timed out");
|