Skip to content

Commit

Permalink
[compile-app-settings] allow console.log() statements
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jun 26, 2018
1 parent 0612b7e commit f8c1323
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v1.17.3
* [compile-app-settings] allow console.log() statements

## v1.17.2
* [jshint] detect redeclarations in global scope
* [compile-nools-rules] Remove duplicate definition of createTargetInstance
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medic-conf",
"version": "1.17.2",
"version": "1.17.3",
"description": "Configure Medic Mobile deployments",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/compile-contact-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const templatedJs = require('../lib/templated-js');

function lint(code) {
jshintWithReport('contact-summary', code, {
predef: [ 'contact', 'lineage', 'reports' ],
predef: [ 'console', 'contact', 'lineage', 'reports' ],
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/compile-nools-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const templatedJs = require('./templated-js');

function lint(code) {
jshintWithReport('nools rules', code, {
predef: [ 'c', 'emit', 'Contact', 'Target', 'Task', 'Utils' ],
predef: [ 'c', 'console', 'emit', 'Contact', 'Target', 'Task', 'Utils' ],
});
}

Expand Down

0 comments on commit f8c1323

Please sign in to comment.