diff --git a/src/pkg.ts b/src/pkg.ts index fa5d8f6..c750dc0 100644 --- a/src/pkg.ts +++ b/src/pkg.ts @@ -59,7 +59,7 @@ export function readPackageManifest(workingDir: string) { try { const fileData = fs.readFileSync(packagePath, 'utf-8') pkg = JSON.parse(fileData) as PackageManifest - if (!pkg.name && pkg.version) { + if (!pkg.name || !pkg.version) { console.log( 'Package manifest', packagePath,