Skip to content

Commit

Permalink
Merge pull request #350 from node-red-contrib-themes/log-package-version
Browse files Browse the repository at this point in the history
  • Loading branch information
bonanitech authored Dec 16, 2023
2 parents 7aa48e3 + 598215a commit 3237a40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions themes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { existsSync, readdirSync, readFileSync } = require('fs')
const path = require('path')
const package = require('./package.json')

module.exports = function (RED) {
const themesPath = path.join(__dirname, 'themes')
Expand Down Expand Up @@ -45,4 +46,5 @@ module.exports = function (RED) {
RED.plugins.registerPlugin(themeName, Object.assign({}, type, css, mermaidOptions, monacoOptions))
RED.plugins.registerPlugin(themeName + '-scroll', Object.assign({}, type, cssScroll, mermaidOptions, monacoOptions))
})
RED.log.info(`Node-RED Contrib Theme Collection version: v${package.version}`)
}

0 comments on commit 3237a40

Please sign in to comment.