Skip to content

Commit 31e9983

Browse files
authored
Apply suggestion from @shellscape
1 parent 7eb5ac9 commit 31e9983

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/versioner/src/versioner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const publish = async (cwd: string) => {
181181
.sort();
182182

183183
if (tarballs.length !== 1) {
184-
throw new Error(
184+
throw new RangeError(
185185
`Expected exactly 1 packed tarball in: ${packDir} for cwd=${cwd} (found ${
186186
tarballs.length
187187
}): ${tarballs.join(', ')}`

0 commit comments

Comments
 (0)