Commit cf983800 authored by Zejun Lin's avatar Zejun Lin Committed by chicm-ms
Browse files

Fix for master -- Node's API changes (#1002)

* fs's API changed

* fix version

* roll back utils
parent c65dad3d
...@@ -68,7 +68,7 @@ function mkDirP(dirPath: string): Promise<void> { ...@@ -68,7 +68,7 @@ function mkDirP(dirPath: string): Promise<void> {
} else { } else {
const parent: string = path.dirname(dirPath); const parent: string = path.dirname(dirPath);
mkDirP(parent).then(() => { mkDirP(parent).then(() => {
fs.mkdir(dirPath, (err: Error | null) => { fs.mkdir(dirPath, (err: Error) => {
if (err) { if (err) {
deferred.reject(err); deferred.reject(err);
} else { } else {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"@types/express": "^4.16.0", "@types/express": "^4.16.0",
"@types/glob": "^7.1.1", "@types/glob": "^7.1.1",
"@types/mocha": "^5.2.5", "@types/mocha": "^5.2.5",
"@types/node": "^10.12.18", "@types/node": "10.12.18",
"@types/request": "^2.47.1", "@types/request": "^2.47.1",
"@types/rx": "^4.1.1", "@types/rx": "^4.1.1",
"@types/sqlite3": "^3.1.3", "@types/sqlite3": "^3.1.3",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment