summaryrefslogtreecommitdiff
path: root/nodejs/automation/utils.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nodejs/automation/utils.js3
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('-');
+}