Skip to content

Commit 48b9edf

Browse files
authored
Use relative path in git ignore
1 parent 6c75ed0 commit 48b9edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lifecycles/bump.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function updateConfigs (args, newVersion) {
145145
}
146146
const configPath = path.resolve(process.cwd(), updater.filename)
147147
try {
148-
if (dotgit.ignore(configPath)) return
148+
if (dotgit.ignore(updater.filename)) return
149149
const stat = fs.lstatSync(configPath)
150150

151151
if (!stat.isFile()) return

0 commit comments

Comments
 (0)