Commit c754ec8a authored by Mark Florian's avatar Mark Florian

Use direct assignment for consistency

parent 17779659
import Vue from 'vue';
import { parseDiff } from '~/vue_shared/security_reports/store/utils'; import { parseDiff } from '~/vue_shared/security_reports/store/utils';
import * as types from './mutation_types'; import * as types from './mutation_types';
export default { export default {
[types.SET_DIFF_ENDPOINT](state, path) { [types.SET_DIFF_ENDPOINT](state, path) {
Vue.set(state.paths, 'diffEndpoint', path); state.paths.diffEndpoint = path;
}, },
[types.REQUEST_DIFF](state) { [types.REQUEST_DIFF](state) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment