mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-23 22:28:39 +01:00
use isWindowsOS()
This commit is contained in:
parent
b47b0565e5
commit
ff3c666f48
@ -22,10 +22,9 @@ import {
|
||||
areItemsTheSameExceptSeqUpdate
|
||||
} from 'utils/collections';
|
||||
import { parseQueryParams, stringifyQueryParams } from 'utils/url';
|
||||
import { getSubdirectoriesFromRoot, getDirectoryName } from 'utils/common/platform';
|
||||
import os from 'os';
|
||||
import { getSubdirectoriesFromRoot, getDirectoryName, isWindowsOS } from 'utils/common/platform';
|
||||
|
||||
const PATH_SEPARATOR = /Windows/i.test(os.release()) ? '\\' : '/';
|
||||
const PATH_SEPARATOR = isWindowsOS() ? '\\' : '/';
|
||||
|
||||
const initialState = {
|
||||
collections: [],
|
||||
|
Loading…
Reference in New Issue
Block a user