diff --git a/cli/src/pre-publish.ts b/cli/src/pre-publish.ts index 4c79d0d8..bc4bb633 100644 --- a/cli/src/pre-publish.ts +++ b/cli/src/pre-publish.ts @@ -147,7 +147,7 @@ export class PrePublishCommand extends Command { .split('\n') .map((line) => line.trim()) .filter((line, index) => line.length && index) - .map((line) => line.substr(2)) + .map((line) => line.substring(2)) .map(this.parseTag) pkgInfo = packagesToPublish.find( (pkgInfo) => pkgInfo.name === packageName,