Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(logger): define package scope
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 19, 2023
1 parent 4ed3a3f commit b54c2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/logger/src/define-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const definePackage = (packageName: string, version: string) => {
throw new Error('duplicate_package_defined');
}

if (packageName.indexOf('@alwatr') === -1) {
if (packageName.indexOf('@alwatr') !== -1) {
logger.accident('define-package', 'package_name_starts_with_alwatr_scope', {
packageName,
});
Expand Down

0 comments on commit b54c2ef

Please sign in to comment.