@tryarcanist/cli 0.1.177 → 0.1.178
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4574,7 +4574,7 @@ async function sandboxRebuildStaleCommand(options = {}, command) {
|
|
|
4574
4574
|
dryRun: Boolean(options.dryRun)
|
|
4575
4575
|
})
|
|
4576
4576
|
}).catch((error) => {
|
|
4577
|
-
if (error instanceof
|
|
4577
|
+
if (error instanceof ApiError && error.status === 403) {
|
|
4578
4578
|
throw new CliError("auth", "Only Arcanist internal admins can rebuild stale sandbox layers.");
|
|
4579
4579
|
}
|
|
4580
4580
|
throw error;
|