refator: delete line break
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9d7e12d861
commit
65e15ada69
|
@ -126,8 +126,8 @@ module.exports = Self => {
|
||||||
myOptions);
|
myOptions);
|
||||||
|
|
||||||
if (!zoneShipped || zoneShipped.zoneFk != args.zoneFk) {
|
if (!zoneShipped || zoneShipped.zoneFk != args.zoneFk) {
|
||||||
const error = `You don't have privileges to change the zone or
|
const error = `You don't have privileges to change the zone or ` +
|
||||||
for these parameters there are more than one shipping options, talk to agencies`;
|
`for these parameters there are more than one shipping options, talk to agencies`;
|
||||||
|
|
||||||
throw new UserError(error);
|
throw new UserError(error);
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,8 +88,8 @@ module.exports = Self => {
|
||||||
myOptions);
|
myOptions);
|
||||||
|
|
||||||
if (!zoneShipped || zoneShipped.zoneFk != args.zoneId) {
|
if (!zoneShipped || zoneShipped.zoneFk != args.zoneId) {
|
||||||
const error = `You don't have privileges to change the zone or
|
const error = `You don't have privileges to change the zone or ` +
|
||||||
for these parameters there are more than one shipping options, talk to agencies`;
|
`for these parameters there are more than one shipping options, talk to agencies`;
|
||||||
|
|
||||||
throw new UserError(error);
|
throw new UserError(error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue