-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Type: BugBug or Bug fixesBug or Bug fixesgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
$ npx vue-i18n-locale-message squeeze --target=. --output=./translated.json
npx: installed 71 in 6.32s
Cannot read property 'split' of undefined
I suppose this is caused by this line:
https://github.com/kazupon/vue-i18n-locale-message/blob/7f2e0af4dea7710788bb8bd81b573cb60c8bbccd/src/utils.ts#L42
While path.parse('.')
returns { ..., dir: '' }
which causes target
become undefined
PS. using Windows here
Metadata
Metadata
Assignees
Labels
Type: BugBug or Bug fixesBug or Bug fixesgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed