chore(cli): remove substr usage
This commit is contained in:
parent
52acde32b3
commit
3634d03f81
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue