make createradar a standalone command

This commit is contained in:
Bastian Ike
2021-01-08 11:07:24 +01:00
committed by Bastian
parent b415f30571
commit 2134a6d62d
7 changed files with 39 additions and 27 deletions

View File

@@ -3,7 +3,8 @@ import path from 'path';
import { walk } from 'walk';
export const relativePath = (...relativePath: string[]): string => (
path.resolve(__dirname, '..', ...relativePath)
// path.resolve(__dirname, '..', ...relativePath)
path.resolve(...relativePath)
);
export const radarPath = (...pathInSrc: string[]) => (