Skip to content

Commit

Permalink
mkdir should create directories recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt committed Apr 17, 2020
1 parent 4add304 commit ddbd0bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Yatao Li, Tyler Leonhardt, Cory Knox",
"license": "MIT",
"readme": "README.md",
"version": "0.1.0",
"version": "0.1.1",
"publisher": "yatli, tylerl0706, corbob",
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion src/client/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ export class PowerShellProcess {

// Make sure the log directory exists. PowerShell Editor Services needs this at the moment.
if (!fs.existsSync(logDir)) {
fs.mkdirSync(logDir);
fs.mkdirSync(logDir, {
recursive: true
});
}

powerShellArgs.push(
Expand Down

0 comments on commit ddbd0bd

Please sign in to comment.