Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
start from 0000
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed Apr 14, 2021
1 parent 8aca3fa commit 1b76d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adr-tool",
"description": "easy CLI for ADR docs",
"version": "0.0.4",
"version": "0.0.5",
"author": "Kerem Sevencan @keremciu",
"bin": {
"adr-tool": "./bin/run"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ a decision created on ./docs/adr/0001-use-adr-tool.md
.replace(/:/g, '')
.replace(/# /g, '')

const newIndex = getLatestIndex() + 1
const newIndex = getLatestIndex()
const fileIndex = ('000000' + newIndex).substr(3)
const filename = fileIndex + '-' + cleanTitle

Expand Down

0 comments on commit 1b76d24

Please sign in to comment.