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 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD authored Dec 19, 2023
2 parents 4ed3a3f + b54c2ef commit 8ddf222
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 8ddf222

Please sign in to comment.