We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba8d36 commit 535855aCopy full SHA for 535855a
src/commands/push.ts
@@ -205,7 +205,12 @@ const pushHandler = (config: Schema) =>
205
format: format,
206
languageTag: f.language,
207
namespace: f.namespace ?? '',
208
- languageTagsToImport: opts.languages,
+ // there can be multiple languages inside the file
209
+ // that is detected on the backend
210
+ // and we only say which we want to import by `languageTagsToImport`
211
+ // however we don't want to use this property,
212
+ // when it's explicitly defined what language is in the file
213
+ languageTagsToImport: !f.language ? opts.languages : undefined,
214
};
215
}),
216
removeOtherKeys: opts.removeOtherKeys,
0 commit comments