mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-14 05:53:46 +00:00
fix(extends): resolve extends file path
This commit is contained in:
parent
1436f60689
commit
0c61b783c8
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
const path = require('path');
|
||||
const core = require('@actions/core');
|
||||
const inputs = require('./inputs.json');
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ exports.handleExtendsOption = () => {
|
|||
const _extends = core.getInput(inputs.extends);
|
||||
|
||||
if (_extends) {
|
||||
extendsOption.extends = _extends;
|
||||
extendsOption.extends = path.resolve(_extends);
|
||||
}
|
||||
|
||||
return extendsOption;
|
||||
|
|
|
|||
Loading…
Reference in a new issue