Skip to content

Commit

Permalink
Merge pull request #35 from coldbox-modules/development
Browse files Browse the repository at this point in the history
v2.1.1 Patch
  • Loading branch information
jclausen authored Nov 13, 2024
2 parents fb24699 + 7a71d90 commit 23b3dc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"Sentry",
"author":"Ortus Solutions <[email protected]>",
"version":"2.1.0",
"version":"2.1.1",
"slug":"sentry",
"type":"modules",
"homepage":"https://github.com/coldbox-modules/sentry",
Expand Down Expand Up @@ -32,7 +32,7 @@
"*.md"
],
"scripts":{
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
"build:docs":"task run taskFile=build/Build.cfc target=docs :projectName=`package show slug` :version=`package show version`",
"install:dependencies":"install --force && cd test-harness && install --force",
"release":"recipe build/release.boxr",
Expand Down
3 changes: 3 additions & 0 deletions models/SentryService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@ component accessors=true singleton {
* Constructor
*/
function init( struct settings = {} ){
// make sure coldbox is a true null for Lucee
variables.coldbox = javacast( "null", 0 );
setSettings( arguments.settings );
// If we have settings passed to the init, this is likely not
// in WireBox context so just configure now
if ( arguments.settings.count() ) {
configure();
}

setModuleConfig( { version : "2.0.0" } );

return this;
Expand Down

0 comments on commit 23b3dc4

Please sign in to comment.