cloudcloud/audiofile

View on GitHub
src/store.js

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

getArtists({commit}) {
return new Promise((resolve) => {
apiClient.getArtists().then((data) => {
commit('resetArtists', data.items);
resolve();
Severity: Major
Found in src/store.js and 1 other location - About 1 hr to fix
src/store.js on lines 47..54

Similar blocks of code found in 2 locations. Consider refactoring.
Open

getDirectories({commit}) {
return new Promise((resolve) => {
apiClient.getDirectories().then((data) => {
commit('resetDirectories', data.items);
resolve();
Severity: Major
Found in src/store.js and 1 other location - About 1 hr to fix
src/store.js on lines 39..46

There are no issues that match your filters.

Category
Status