dochub-sdk 0.1.323 → 0.1.324

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.
@@ -220,16 +220,14 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
220
220
  for(const uri of this.followFiles || []) {
221
221
  DocHub.dataLake.unfollowFile(uri, this.onRefresh);
222
222
  }
223
- const followFiles: string[] = [];
224
223
  // Если нужно только очистить отслеживание - выходим
225
224
  if (disable) return;
225
+ const followFiles: string[] = [];
226
226
  // Иначе...
227
227
  // Определяем базовый файл
228
228
  this.baseURI = (await DocHub.dataLake.getURIForPath(this.profile.$base) || []).pop();
229
229
  // Если определить его не удалось, вываливаемся в ошибку
230
230
  if (!this.baseURI) throw new DocHubError(`Can not resolve base URI for base path [${this.profile.$base}]`);
231
- // Добавляем его в отслеживание
232
- this.baseURI && followFiles.push(this.baseURI);
233
231
  // Если указан шаблон, добавляем его в отслеживаемые файлы
234
232
  if(this.profile?.template) {
235
233
  followFiles.push(DocHub.dataLake.resolveURI(this.baseURI, this.profile.template));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.323",
3
+ "version": "0.1.324",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",