src/release/prerelease.js
function isDirty () {
  return pify(git.raw.bind(git))(['status', '-s'])
    .then((out) => {
      if (out && out.trim().length > 0) {
        throw new Error('Dirty git repo, aborting')
      }
    })
}
function isDirty () {
  return pify(git.raw.bind(git))(['status', '-s'])
    .then((out) => {
      if (out && out.trim().length > 0) {
        throw new Error('Dirty git repo, aborting')
      }
    })
}
function isDirty ( ) { return pify ( git . raw . bind ( git ) ) ( [ 'status' , '-s' ] ) . then ( ( out ) => { if ( out && out . trim ( ) . length > 0 ) { throw new Error ( 'Dirty git repo, aborting' ) } } ) }
Is the current git workspace dirty?
Is the current git workspace dirty?