mirror of
https://github.com/vale981/metalsmith-multi-language
synced 2025-03-04 09:01:38 -05:00
cure the disappearing file bug
This commit is contained in:
parent
0e54075bf7
commit
047f29c55b
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ Multilang.prototype.getPlugin = function () {
|
|||
|
||||
if (files[file].locale === self.default) {
|
||||
files[file].path = '';
|
||||
files[name] = Object.assign({},files[file]);
|
||||
files[name] = files[file];
|
||||
} else {
|
||||
files[file].path = files[file].locale +'/';
|
||||
name = files[file].locale + '/' + name;
|
||||
|
|
Loading…
Add table
Reference in a new issue