Skip to content

Commit

Permalink
Print stack
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisHsu committed Feb 29, 2024
1 parent 6bb7233 commit 94230b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 94230b9

Please sign in to comment.