Skip to content

Commit d2491bc

Browse files
authored
fix: Use relative path in git ignore
fix: Use relative path in git ignore
2 parents 5129609 + 48b9edf commit d2491bc

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)