Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbutongit committed Jul 1, 2020
1 parent 61ad037 commit 2034034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runner/src/server/plugins/builder/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import plugin from 'digital-form-builder-engine'
const path = require('path')
const fs = require('fs')
const configPath = path.join(__dirname, '..', '..', 'forms')
const config = require('../../config')

const relativeTo = __dirname
const defaultPageController = './pages'
import plugin from 'digital-form-builder-engine'

const configFiles = fs.readdirSync(configPath).filter(filename => {
if (filename.indexOf('.json') >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion runner/src/server/plugins/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
}
},
prepare: (options, next) => {
let environment = nunjucks.configure(options.path, {
const environment = nunjucks.configure(options.path, {
autoescape: true,
watch: false
})
Expand Down

0 comments on commit 2034034

Please sign in to comment.