From e8cd84880a0c87fab0a9c63ab49793338771c39e Mon Sep 17 00:00:00 2001 From: Sebastien Date: Thu, 25 Jan 2024 11:45:12 +0100 Subject: [PATCH] fix: use constant for path separator (#766) --- src/constant/fsConstants.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/constant/fsConstants.ts b/src/constant/fsConstants.ts index 250b201d..48e46013 100644 --- a/src/constant/fsConstants.ts +++ b/src/constant/fsConstants.ts @@ -1,8 +1,6 @@ 'use strict' -import { posix } from 'path' - export const DOT = '.' export const UTF8_ENCODING = 'utf8' export const PATH_SEPARATOR_REGEX = /[/\\]+/ -export const PATH_SEP = posix.sep +export const PATH_SEP = '/'