Skip to content

Commit

Permalink
update error text
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyManetov committed Feb 21, 2025
1 parent dc29cae commit eb43712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uui-build/ts/tasks/mergeFigmaVariables/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function applyChanges(data: IFigmaVarCollection, changes: Record<string, DiffEle

if (changes['modes']) {
if (!Object.keys(data.modes).some((mode) => Object.keys(newJson.modes).includes(mode))) {
console.error('There is no the same theme_id in the new json to apply changes. Check the ids of themes, probably it is needed to change them manually');
console.error('There is no the same theme_id(mods array) in the new json to apply changes. Check the ids of themes, probably it is needed to change them manually');
throw new Error('There is no the same theme id(mods array) in the new json to apply changes. Check the ids of themes, probably it is needed to change them manually');
}

Expand Down

0 comments on commit eb43712

Please sign in to comment.