mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add logs to smoke tests (#13533)
* add logs * fix log option * update log folder
This commit is contained in:
@@ -75,6 +75,11 @@ if (screenshotsPath) {
|
||||
mkdirp.sync(screenshotsPath);
|
||||
}
|
||||
|
||||
const logPath = opts.log ? path.resolve(opts.log) : null;
|
||||
if (logPath) {
|
||||
mkdirp.sync(path.dirname(logPath));
|
||||
}
|
||||
|
||||
function fail(errorMessage): void {
|
||||
console.error(errorMessage);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user