chore: fix format
This commit is contained in:
4
.github/scripts/tag-extension.mjs
vendored
4
.github/scripts/tag-extension.mjs
vendored
@@ -15,7 +15,9 @@ function findRootDir(startDir) {
|
|||||||
if (existsSync(join(currentDir, 'package.json'))) {
|
if (existsSync(join(currentDir, 'package.json'))) {
|
||||||
// Verify it's the root package.json by checking for expected fields
|
// Verify it's the root package.json by checking for expected fields
|
||||||
try {
|
try {
|
||||||
const pkg = JSON.parse(readFileSync(join(currentDir, 'package.json'), 'utf8'));
|
const pkg = JSON.parse(
|
||||||
|
readFileSync(join(currentDir, 'package.json'), 'utf8')
|
||||||
|
);
|
||||||
if (pkg.name === 'task-master-ai' || pkg.repository) {
|
if (pkg.name === 'task-master-ai' || pkg.repository) {
|
||||||
return currentDir;
|
return currentDir;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user