Skip to content

Conversation

danielmorlock
Copy link

@danielmorlock danielmorlock commented May 15, 2020

Further adds a systemd service script

const time = moment(parseInt(match[2], 10));
time.subtract(count, unit);
//time.subtract(count, unit);
time.add(count, unit);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Why direction was changed here?

req.proxyShift = {};
}
req.proxyShift[idx] = {
back: (match.splice(1,1)[0] == "b"),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not like this match.splice approach, it's is much better to just change all match indexes rather then manipulate match array in place

back: (match.splice(1,1)[0] == "b"),
count: parseInt(match[1], 10),
unit: match[2]
unit: match[2],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coma will brake node 6 compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants