buddy-tunnel
Advanced tools
Comparing version 1.4.9-dev to 1.4.11-dev
{ | ||
"name": "buddy-tunnel", | ||
"preferGlobal": false, | ||
"version": "1.4.9-dev", | ||
"version": "1.4.11-dev", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -8,2 +8,3 @@ const { | ||
const ApiAgent = require('../api/agent.js'); | ||
const { isDocker } = require('../utils'); | ||
@@ -13,4 +14,6 @@ const commandPre = async (_, command) => { | ||
try { | ||
const isEnabled = await AgentManager.system.isEnabled(); | ||
if (isEnabled) command.agentStatus = await ApiAgent.fetchStatus(); | ||
if (!isDocker()) { | ||
const isEnabled = await AgentManager.system.isEnabled(); | ||
if (isEnabled) command.agentStatus = await ApiAgent.fetchStatus(); | ||
} | ||
} catch { | ||
@@ -17,0 +20,0 @@ // do nothing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
321003
7456