diff options
author | Nate Sesti <33237525+sestinj@users.noreply.github.com> | 2023-07-16 16:11:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 16:11:15 -0700 |
commit | eab69781a3e3b5236916d9057ce29aba2e868913 (patch) | |
tree | 75fb6a71f6fe7a3b304aa363c8956987789d23d7 /extension/src/activation/environmentSetup.ts | |
parent | fcfbbf562ac4b576bc80259fa9665b6067ccdcaa (diff) | |
parent | 6e2634f70662ce04207e4a1fad2e27761179b123 (diff) | |
download | sncontinue-eab69781a3e3b5236916d9057ce29aba2e868913.tar.gz sncontinue-eab69781a3e3b5236916d9057ce29aba2e868913.tar.bz2 sncontinue-eab69781a3e3b5236916d9057ce29aba2e868913.zip |
Merge pull request #271 from continuedev/dev-data-analytics
record accept/reject
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index df609a34..69a3b75a 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -400,6 +400,14 @@ function serverPath(): string { return sPath; } +export function devDataPath(): string { + const sPath = path.join(getContinueGlobalPath(), "dev_data"); + if (!fs.existsSync(sPath)) { + fs.mkdirSync(sPath); + } + return sPath; +} + function serverVersionPath(): string { return path.join(serverPath(), "server_version.txt"); } |