Skip to content

Commit

Permalink
fix: use constant for path separator (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon authored Jan 25, 2024
1 parent e6d6e34 commit e8cd848
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/constant/fsConstants.ts
Original file line number Diff line number Diff line change
@@ -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 = '/'

0 comments on commit e8cd848

Please sign in to comment.