agent-neckbeard 1.0.2 → 1.0.3
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.
Potentially problematic release.
This version of agent-neckbeard might be problematic. Click here for more details.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -200,7 +200,7 @@ try {
|
|
|
200
200
|
});
|
|
201
201
|
const { apt, commands } = this.dependencies;
|
|
202
202
|
if (apt && apt.length > 0) {
|
|
203
|
-
const aptCmd = `apt-get update && apt-get install -y ${apt.join(" ")}`;
|
|
203
|
+
const aptCmd = `sudo apt-get update && sudo apt-get install -y ${apt.join(" ")}`;
|
|
204
204
|
const aptResult = await sandbox.commands.run(aptCmd, { timeoutMs: 3e5 });
|
|
205
205
|
if (aptResult.exitCode !== 0) {
|
|
206
206
|
throw new Error(`Failed to install apt packages: ${aptResult.stderr}`);
|
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@ try {
|
|
|
165
165
|
});
|
|
166
166
|
const { apt, commands } = this.dependencies;
|
|
167
167
|
if (apt && apt.length > 0) {
|
|
168
|
-
const aptCmd = `apt-get update && apt-get install -y ${apt.join(" ")}`;
|
|
168
|
+
const aptCmd = `sudo apt-get update && sudo apt-get install -y ${apt.join(" ")}`;
|
|
169
169
|
const aptResult = await sandbox.commands.run(aptCmd, { timeoutMs: 3e5 });
|
|
170
170
|
if (aptResult.exitCode !== 0) {
|
|
171
171
|
throw new Error(`Failed to install apt packages: ${aptResult.stderr}`);
|