mirror of
https://github.com/Microsoft/vscode
synced 2024-08-26 20:39:37 +00:00
smoke - always create test folder
This commit is contained in:
parent
b96644b15f
commit
6957e52e4b
|
@ -31,9 +31,8 @@ import { setup as setupLaunchTests } from './areas/workbench/launch.test';
|
||||||
const testDataPath = path.join(os.tmpdir(), 'vscsmoke');
|
const testDataPath = path.join(os.tmpdir(), 'vscsmoke');
|
||||||
if (fs.existsSync(testDataPath)) {
|
if (fs.existsSync(testDataPath)) {
|
||||||
rimraf.sync(testDataPath);
|
rimraf.sync(testDataPath);
|
||||||
} else {
|
|
||||||
fs.mkdirSync(testDataPath);
|
|
||||||
}
|
}
|
||||||
|
fs.mkdirSync(testDataPath);
|
||||||
process.once('exit', () => {
|
process.once('exit', () => {
|
||||||
try {
|
try {
|
||||||
rimraf.sync(testDataPath);
|
rimraf.sync(testDataPath);
|
||||||
|
|
Loading…
Reference in a new issue