Skip to content

Commit 531c119

Browse files
author
Nikos Vasileiou
authored
Merge pull request #140 from transifex/fix-win-paths
Fix "glob" issue with windows paths
2 parents f28ea05 + 8e56ac2 commit 531c119

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/angular/projects/tx-native-angular-sdk/src/lib/translation.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export class TranslationService {
2626
}
2727

2828
// A dictionary with additional TX Native instances for translation
29+
// eslint-disable-next-line space-infix-ops
2930
private additionalInstances: { [id: string]: any } = {};
3031

3132
// A subject for managing locale changes

packages/cli/src/commands/push.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class PushCommand extends Command {
4040
if (isFolder(filePattern)) {
4141
filePattern = path.join(filePattern, PushCommand.args[0].default);
4242
}
43+
filePattern = filePattern.replace(/\\/g, '/');
4344

4445
const appendTags = stringToArray(flags['append-tags']);
4546
const filterWithTags = stringToArray(flags['with-tags-only']);

0 commit comments

Comments
 (0)