cloudcloud/audiofile

View on GitHub

Showing 3 of 3 total issues

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

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

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// Package audiofile provides data structures and behaviours for audiofile.
Severity: Minor
Found in audiofile.go by gofmt
Severity
Category
Status
Source
Language