Skip to content

Commit

Permalink
🐛 fix(core): fix consts
Browse files Browse the repository at this point in the history
  • Loading branch information
angelespejo committed Sep 28, 2024
1 parent c8abaa3 commit cf712b4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# binarium

## 0.1.4

### Patch Changes

- fix consts

## 0.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binarium",
"version": "0.1.3",
"version": "0.1.4",
"description": "Zero-configuration node library and CLI for building executables for all platforms and architectures",
"type": "module",
"license": "GPL-3.0",
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const BINARIUM_CONSTS: {
debug?: boolean,
icon?: string
} = {
icon : '📦',
icon : undefined,
name : undefined,
debug : undefined,
}
Expand Down Expand Up @@ -297,6 +297,7 @@ export const build = async ( params: BuilderParams ) =>{

const isDebug = existsFlag( 'debug' ) || BINARIUM_CONSTS?.debug
const log = logger( {
icon : BINARIUM_CONSTS?.icon || '📦',
name : BINARIUM_CONSTS?.name || name,
isDebug,
} )
Expand Down

0 comments on commit cf712b4

Please sign in to comment.