@probelabs/visor 0.1.44 → 0.1.45

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- process.env.VISOR_VERSION = '0.1.44';
2
+ process.env.VISOR_VERSION = '0.1.45';
3
3
  /******/ (() => { // webpackBootstrap
4
4
  /******/ var __webpack_modules__ = ({
5
5
 
@@ -96998,8 +96998,8 @@ async function main() {
96998
96998
  console.error('❌ Error: Not a git repository. Run "git init" to initialize a repository.');
96999
96999
  process.exit(1);
97000
97000
  }
97001
- // Check if there are any changes to analyze
97002
- if (repositoryInfo.files.length === 0) {
97001
+ // Check if there are any changes to analyze (only when code context is needed)
97002
+ if (includeCodeContext && repositoryInfo.files.length === 0) {
97003
97003
  console.error('❌ Error: No changes to analyze. Make some file changes first.');
97004
97004
  process.exit(1);
97005
97005
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@probelabs/visor",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "visor": "./dist/index.js"