Sign in
apache
/
airflow-JamesIves-github-pages-deploy-action
/
e45a9df141a41608e93a4240c430861d897a989b
/
.
/
node_modules
/
graphql
/
jsutils
/
printPathArray.mjs
blob: 6bf077a564c4fe442b12699ca4eb613dfffb51c2 [
file
] [
log
] [
blame
]
/**
* Build a string describing the path.
*/
export
default
function
printPathArray
(
path
)
{
return
path
.
map
(
function
(
key
)
{
return
typeof
key
===
'number'
?
'['
+
key
.
toString
()
+
']'
:
'.'
+
key
;
}).
join
(
''
);
}