@diplodoc/cli 5.11.3-debug-vcs-4 → 5.11.3-debug-vcs-5

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.
@@ -14865,6 +14865,7 @@ init_git_response_error();
14865
14865
  var esm_default = gitInstanceFactory;
14866
14866
 
14867
14867
  // src/extensions/github-vcs/index.ts
14868
+ var import_cli = require("@diplodoc/cli");
14868
14869
  var import_program = require("../lib/program");
14869
14870
  var import_vcs = require("../lib/vcs");
14870
14871
  var import_utils3 = require("../lib/utils");
@@ -16638,6 +16639,9 @@ var options = {
16638
16639
  // src/extensions/github-vcs/index.ts
16639
16640
  var Extension = class {
16640
16641
  apply(program) {
16642
+ if (!import_cli.Build.is(program)) {
16643
+ return;
16644
+ }
16641
16645
  (0, import_program.getHooks)(program).BeforeAnyRun.tap("GithubVcsConnector", (run) => {
16642
16646
  (0, import_vcs.getHooks)(run.vcs).VcsConnector.tapPromise(
16643
16647
  "GithubVcsConnector",