Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Upload tries to create '.' directory when source file is in root directory #27

Open
villermen opened this issue Mar 25, 2020 · 0 comments

Comments

@villermen
Copy link

villermen commented Mar 25, 2020

With the below config:

base_branches: ['master']
base_path: language
skip_validation: ['en']
files:
  - source: editor.pot
    translation: editor.%locale%.po

better-crowdin will try to create a '.' directory upon uploading the source file. It tries to obtain the directory of 'editor.pot' which is '.', meaning the current directory.

I have tried prefixing the file with a slash, but that will lead to the error that the file already exists in Crowdin. 'editor.pot' exists, but '/editor.pot' does not so it will try to upload instead of update it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant