Skip to content

Commit

Permalink
remove dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Apr 6, 2022
1 parent b1831bc commit 4f64487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ const asciidoctor = require('asciidoctor')()

const docsPath = core.getInput('docs_path');
path = require('path');
// list markdown files at root of project folder
const location = path.join(__dirname, docsPath),
const location = docsPath,
patt = path.join(location, '**.asciidoc');

glob(patt, (err, files) => {
Expand Down

0 comments on commit 4f64487

Please sign in to comment.