UNPKG
twilio-release-tool
Version:
latest (1.0.5)
1.0.5
1.0.2
1.0.1
1.0.0
0.2.11
0.2.10
0.2.9
Twilio Release Tool
github.com/twilio/release-tool
twilio/release-tool
twilio-release-tool
/
lib
/
config.js
16 lines
(12 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
;
var
util =
require
(
'./util'
);
/** * Read .release.json. *
@param
{
string
}
root
*
@returns
{
object
} *
@throws
{
Error
} */
function
readConfig
(
root
) {
return
util.
readJSON
(
'.release.json'
, root); }
module
.
exports
= readConfig;