MCPcopy
hub / github.com/serverless/serverless / error

Function error

packages/sf-core-installer/binary.js:10–13  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

8const rimraf = require('rimraf')
9
10const error = (msg) => {
11 console.error(msg)
12 process.exit(1)
13}
14
15const formatHostName = (hostname) => hostname.replace(/^\.*/, '.').toLowerCase()
16

Callers 3

constructorMethod · 0.70
installMethod · 0.70
runMethod · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…