Skip to content

Commit

Permalink
fix: update release tool
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Sep 21, 2024
1 parent 4b5fa01 commit d91e6fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ function verifyPackageContent() {
line = line.replace(/^npm notice /, "").trim()
switch (state) {
case STATE_INIT:
if (line === "=== Tarball Contents ===") {
if (line === "Tarball Contents") {
state = STATE_TARBALL_CONTENTS
}
break
case STATE_TARBALL_CONTENTS:
if (line === "=== Tarball Details ===") {
if (line === "Tarball Details") {
state = STATE_TARBALL_DETAILS
} else {
content.add(line.match(/.*?\s+(.*)$/)[1])
Expand Down

0 comments on commit d91e6fe

Please sign in to comment.