Skip to content

Commit 8d8047a

Browse files
author
Cédric Belin
committed
Update the build system [skip ci]
1 parent fbf652f commit 8d8047a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cakefile.coffee

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{spawnSync} = require "node:child_process"
2+
console = require "node:console"
23
{readdirSync, rmSync} = require "node:fs"
34
{join} = require "node:path"
4-
{env} = require "node:process"
5+
{env, exit} = require "node:process"
56
pkg = require "../package.json"
67

78
option "-m", "--map", "Whether to generate source maps."
@@ -43,4 +44,4 @@ run = (command, args...) ->
4344
{status} = spawnSync command, args, shell: yes, stdio: "inherit"
4445
unless status is 0
4546
console.error "Command failed:", command, args...
46-
process.exit status
47+
exit status

0 commit comments

Comments
 (0)