{"version":3,"file":"commit.mjs","sources":["../src/commit.ts"],"sourcesContent":["import { getLastCommit } from 'git-last-commit';\nimport { promisify } from 'util';\n\nconst _getLastCommit = promisify(getLastCommit);\n\nexport async function getLastCommitAction() {\n  const commit = await _getLastCommit();\n  return commit.subject.split(' ')[0];\n}\n"],"names":[],"mappings":";;;;AAGA,MAAM,cAAc,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC;SAE1B,mBAAmB,GAAA;;AACvC,QAAA,MAAM,MAAM,GAAG,MAAM,cAAc,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;KACrC,CAAA,CAAA;AAAA;;;;"}