Skip to content

Commit

Permalink
refactor: export assert helpers from assert submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 26, 2023
1 parent 4cc5fd5 commit 669382c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
15 changes: 15 additions & 0 deletions src/helpers/assert.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* @adonisjs/core
*
* (c) AdonisJS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

export {
assertExists,
assertNotNull,
assertIsDefined,
assertUnreachable,
} from '@poppinss/utils/assert'
6 changes: 0 additions & 6 deletions src/helpers/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,4 @@ export {
fsImportAll,
MessageBuilder,
} from '@poppinss/utils'
export {
assertExists,
assertNotNull,
assertIsDefined,
assertUnreachable,
} from '@poppinss/utils/assert'
export { parseBindingReference } from './parse_binding_reference.js'

0 comments on commit 669382c

Please sign in to comment.