refator: delete line break
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-09-21 14:53:02 +02:00
parent 9d7e12d861
commit 65e15ada69
2 changed files with 4 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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);
} }