Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38efb9f

Browse files
Using process.exit instead of exit
1 parent0bae38a commit38efb9f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎bin/next-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ const dir = resolve(argv._[0] || '.')
1616
build(dir)
1717
.catch((err)=>{
1818
console.error(err)
19-
exit(1)
19+
process.exit(1)
2020
})

‎bin/next-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exists(join(dir, 'package.json'))
3434
})
3535
.catch((err)=>{
3636
console.error(err)
37-
exit(1)
37+
process.exit(1)
3838
})
3939

4040
constbasePackage=`{

‎bin/next-start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ srv.start(argv.port)
2424
})
2525
.catch((err)=>{
2626
console.error(err)
27-
exit(1)
27+
process.exit(1)
2828
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp