Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/commands/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,12 @@ const pushHandler = (config: Schema) =>
format: format,
languageTag: f.language,
namespace: f.namespace ?? '',
languageTagsToImport: opts.languages,
// there can be multiple languages inside the file
// that is detected on the backend
// and we only say which we want to import by `languageTagsToImport`
// however we don't want to use this property,
// when it's explicitly defined what language is in the file
languageTagsToImport: !f.language ? opts.languages : undefined,
};
}),
removeOtherKeys: opts.removeOtherKeys,
Expand Down
Loading