Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ioBroker/ioBroker.vis-2
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Jan 22, 2024
2 parents b274277 + d5ec942 commit 14a9164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function stringify(name, data, isConvert, files) {
}

function parse(projectName, fileName, data, settings) {
if (fileName && fileName.toString().endsWith('vis-views.json')) {
if (fileName.match(/vis-views\.json$/)) {
// Check if all images are in the right directory
let project = projectName;
if (project[project.length - 1] === '/') {
Expand All @@ -99,4 +99,4 @@ function parse(projectName, fileName, data, settings) {
return data;
}
module.exports.stringify = stringify;
module.exports.parse = parse;
module.exports.parse = parse;
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function startAdapter(options) {
// if it is an instance object
if (id.startsWith('system.adapter.') &&
id.match(/\d+$/) &&
id !== 'system.adapter.vis-2-beta.0' &&
id !== 'system.adapter.vis.0' &&
id !== 'system.adapter.vis-2.0'
) {
Expand Down

0 comments on commit 14a9164

Please sign in to comment.