Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
cf983800
Commit
cf983800
authored
Apr 22, 2019
by
Zejun Lin
Committed by
chicm-ms
Apr 22, 2019
Browse files
Fix for master -- Node's API changes (#1002)
* fs's API changed * fix version * roll back utils
parent
c65dad3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/nni_manager/common/utils.ts
src/nni_manager/common/utils.ts
+1
-1
src/nni_manager/package.json
src/nni_manager/package.json
+1
-1
No files found.
src/nni_manager/common/utils.ts
View file @
cf983800
...
@@ -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
{
...
...
src/nni_manager/package.json
View file @
cf983800
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment