Skip to content

Commit 23b3dc4

Browse files
authored
Merge pull request #35 from coldbox-modules/development
v2.1.1 Patch
2 parents fb24699 + 7a71d90 commit 23b3dc4

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

box.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name":"Sentry",
33
"author":"Ortus Solutions <info@ortussolutions.com>",
4-
"version":"2.1.0",
4+
"version":"2.1.1",
55
"slug":"sentry",
66
"type":"modules",
77
"homepage":"https://github.com/coldbox-modules/sentry",
@@ -32,7 +32,7 @@
3232
"*.md"
3333
],
3434
"scripts":{
35-
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
35+
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
3636
"build:docs":"task run taskFile=build/Build.cfc target=docs :projectName=`package show slug` :version=`package show version`",
3737
"install:dependencies":"install --force && cd test-harness && install --force",
3838
"release":"recipe build/release.boxr",

models/SentryService.cfc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,15 @@ component accessors=true singleton {
6161
* Constructor
6262
*/
6363
function init( struct settings = {} ){
64+
// make sure coldbox is a true null for Lucee
65+
variables.coldbox = javacast( "null", 0 );
6466
setSettings( arguments.settings );
6567
// If we have settings passed to the init, this is likely not
6668
// in WireBox context so just configure now
6769
if ( arguments.settings.count() ) {
6870
configure();
6971
}
72+
7073
setModuleConfig( { version : "2.0.0" } );
7174

7275
return this;

0 commit comments

Comments
 (0)