mirror of
https://github.com/actions/setup-python.git
synced 2025-06-12 23:37:12 +02:00
Initial pass
This commit is contained in:
11
node_modules/yargs/lib/yerror.js
generated
vendored
Normal file
11
node_modules/yargs/lib/yerror.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict'
|
||||
function YError (msg) {
|
||||
this.name = 'YError'
|
||||
this.message = msg || 'yargs error'
|
||||
Error.captureStackTrace(this, YError)
|
||||
}
|
||||
|
||||
YError.prototype = Object.create(Error.prototype)
|
||||
YError.prototype.constructor = YError
|
||||
|
||||
module.exports = YError
|
Reference in New Issue
Block a user