chore: Clean up unnecessary spread (#3218)

The customPrefs alias was introduced in #1039 as a direct alias,
but changed to a shallow copy in #2436 because the object was modified.
These changes have been dropped in #3136 but the swallow copy remained.

This patch completes the cleanup by reverting to a direct alias.
This commit is contained in:
Rob Wu 2024-09-20 09:34:50 +02:00 коммит произвёл GitHub
Родитель 86b76fda0e
Коммит ba20bf2ee7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -82,7 +82,7 @@ export default async function run(
// Create an alias for --pref since it has been transformed into an
// object containing one or more preferences.
const customPrefs = { ...pref };
const customPrefs = pref;
const manifestData = await getValidatedManifest(sourceDir);
const profileDir = firefoxProfile || chromiumProfile;