working_dir usage more clear in add_extension (#6958)

This commit is contained in:
Zane
2026-02-17 09:32:12 -08:00
committed by GitHub
parent 3959805198
commit ff3ad4349d
3 changed files with 78 additions and 73 deletions
@@ -107,8 +107,7 @@ export default function ProviderConfigurationModal({
Object.entries(configValues)
.filter(
([_k, entry]) =>
!!entry.value ||
(entry.serverValue != null && typeof entry.serverValue === 'string')
!!entry.value || (entry.serverValue != null && typeof entry.serverValue === 'string')
)
.map(([k, entry]) => [
k,
+1 -8
View File
@@ -190,14 +190,7 @@ describe('checkBlocked', () => {
});
it('does not block loopback by default, blocks when opted in', async () => {
const allowed = await checkBlocked(
'localhost',
8080,
blocked,
noLD,
noLDCache,
defaultOptions
);
const allowed = await checkBlocked('localhost', 8080, blocked, noLD, noLDCache, defaultOptions);
expect(allowed.blocked).toBe(false);
const blocked_ = await checkBlocked('localhost', 8080, blocked, noLD, noLDCache, {