Skip to content

Commit

Permalink
🐛 Remove _layers.concat as 1c2379e (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
volterra79 authored Nov 25, 2024
1 parent a698d77 commit 9a7f35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const browserify_plugin = (pluginName, watch = true) => {
.on('log', (info) => watch && !production && gutil.log(GREEN__ + '[' + pluginName + ']' + __RESET + ' →', info));

// remove source map file
del([`${src}/plugin.js.map`]);
del([`${src}/plugin.js.map`], {force: true});

const rebundle = () => {
const version = get_version(pluginName);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Catalog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export default {
_layers.push(layer);
}
if (null !== layer.nodes && undefined !== layer.nodes) {
_layers = _layers.concat(this._traverseVisibleLayers(layer.nodes, _layers));
this._traverseVisibleLayers(layer.nodes, _layers);
}
}
return _layers;
Expand Down

0 comments on commit 9a7f35a

Please sign in to comment.