Skip to content

Commit 0e4ae82

Browse files
committed
chore: use SAS_FILE_SEPARATOR from restServerAdapter
Signed-off-by: tariku <[email protected]>
1 parent af2da9a commit 0e4ae82

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

client/src/components/ContentNavigator/ContentDataProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { basename, join } from "path";
3636
import { promisify } from "util";
3737

3838
import { profileConfig } from "../../commands/profile";
39+
import { SAS_FILE_SEPARATOR } from "../../connection/rest/RestServerAdapter";
3940
import { getResourceId } from "../../connection/rest/util";
4041
import { SubscriptionProvider } from "../SubscriptionProvider";
4142
import { ViyaProfile } from "../profile";
@@ -60,8 +61,6 @@ import {
6061
isContainer as getIsContainer,
6162
} from "./utils";
6263

63-
const SAS_FILE_SEPARATOR = "~fs~";
64-
6564
class ContentDataProvider
6665
implements
6766
TreeDataProvider<ContentItem>,

client/src/connection/rest/RestServerAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
} from "./util";
4040

4141
export const SAS_SERVER_HOME_DIRECTORY = "SAS_SERVER_HOME_DIRECTORY";
42-
const SAS_FILE_SEPARATOR = "~fs~";
42+
export const SAS_FILE_SEPARATOR = "~fs~";
4343

4444
class RestServerAdapter implements ContentAdapter {
4545
protected baseUrl: string;

0 commit comments

Comments
 (0)