@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.
- package/dist/index.js +3 -3
- 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.
|
|
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
|
}
|