UNPKG
lambda-service
Version:
latest (1.0.13)
1.0.13
1.0.12
zero1five/lambda
lambda-service
/
src
/
getConfig
/
configPlugins
/
outputPath.js
14 lines
(12 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
assert
from
'assert'
export
default
function
(
) {
return
{
name
:
'outputPath'
,
validate
(
val
) {
assert
(
typeof
val ===
'string'
,
`Configure item outputPath should be String, but got
${val}
.`
) } } }