diff --git a/index.js b/index.js index cab2723..7861809 100644 --- a/index.js +++ b/index.js @@ -11,12 +11,12 @@ try { let [tag_str, tag_name] = note_content.match(/^\`(.*)\`\n/); note_content = note_content.substring(tag_str.length); // Get tags - let tags = fs.readdirSync(Path.resolve(".git", "refs", "tags")) + let tags = Fs.readdirSync(Path.resolve(".git", "refs", "tags")) console.log(tags) - // Get assets let asset_paths = Core.getInput('assets').split("\n").map(s => s.trim()); console.log(`Assets: ${asset_paths}`); } catch (error) { + console.error(error.stack) Core.setFailed(error.message); } \ No newline at end of file