microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
src/extension/appcenter/auth/profile/getProfileDir.ts
12lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. |
| 3 | |
| 4 | import * as path from "path"; |
| 5 | |
| 6 | export const profileDirName = ".vscode"; |
| 7 | export const profileFile = "codepush.json"; |
| 8 | |
| 9 | export function getProfileDir(projectRootPath: string): string { |
| 10 | const profileDir = path.join(projectRootPath, profileDirName); |
| 11 | return profileDir; |
| 12 | } |