pumuki-ast-hooks 5.4.3 → 5.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki-ast-hooks",
3
- "version": "5.4.3",
3
+ "version": "5.4.5",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -343,7 +343,7 @@ async function runPlatformAnalysis(project, findings, context) {
343
343
  * Generate analysis output and reports
344
344
  */
345
345
  function generateOutput(findings, context, project, root) {
346
- const stagingOnlyMode = env.get('STAGING_ONLY_MODE', '0') === '1';
346
+ const stagingOnlyMode = context && context.stagingOnlyMode;
347
347
  if (stagingOnlyMode) {
348
348
  try {
349
349
  const { execSync } = require('child_process');
@@ -3,7 +3,7 @@ const { execSync } = require('child_process');
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
5
  const crypto = require('crypto');
6
- const env = require('../../../config/env');
6
+ const env = require(path.join(__dirname, '../../../../config/env'));
7
7
 
8
8
  class iOSASTIntelligentAnalyzer {
9
9
  constructor(findings) {