mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Refresh master with initial release/0.24 snapshot (#332)
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
This commit is contained in:
@@ -248,7 +248,7 @@ export function parseNumAsTimeString(value: number): string {
|
||||
}
|
||||
|
||||
|
||||
// The function is a duplicate of carbon\src\paths.js. IT would be better to import path.js but it doesn't
|
||||
// The function is a duplicate of \src\paths.js. IT would be better to import path.js but it doesn't
|
||||
// work for now because the extension is running in different process.
|
||||
export function getAppDataPath() {
|
||||
var platform = process.platform;
|
||||
@@ -260,11 +260,5 @@ export function getAppDataPath() {
|
||||
}
|
||||
}
|
||||
export function getDefaultLogLocation() {
|
||||
var platform = process.platform;
|
||||
let rootFolderName: string = '.sqlops';
|
||||
if (platform === 'win32') {
|
||||
rootFolderName = 'sqlops';
|
||||
}
|
||||
|
||||
return path.join(getAppDataPath(), rootFolderName);
|
||||
return path.join(getAppDataPath(), 'sqlops');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user