diff options
Diffstat (limited to 'nodejs/automation/utils.js')
-rw-r--r-- | nodejs/automation/utils.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nodejs/automation/utils.js b/nodejs/automation/utils.js new file mode 100644 index 0000000..01ce1ad --- /dev/null +++ b/nodejs/automation/utils.js @@ -0,0 +1,3 @@ +export function waypointToSystem(waypoint) { + return waypoint.split('-').slice(0,2).join('-'); +} |