How to change figure caption justification?

#show figure.caption: it => {
  set align(left)
  it
}

and

#show figure.caption: it => {
  set par(justify: true)
  it
}