diff --git a/builders/varnish-nginx.js b/builders/varnish-nginx.js index c3c5b9b..67721d4 100644 --- a/builders/varnish-nginx.js +++ b/builders/varnish-nginx.js @@ -1,15 +1,13 @@ 'use strict'; const _ = require('lodash'); -const fs = require('fs'); -const path = require('path'); -const LandoNginx = require('./../../node_modules/@lando/nginx/builders/nginx.js'); +const landoNginx = require('./../../node_modules/@lando/nginx/builders/nginx.js'); // Builder module.exports = { name: 'varnish-nginx', parent: 'nginx', - builder: (parent, config) => class VarnishNginx extends LandoNginx(parent, config) { + builder: (parent, config) => class VarnishNginx extends landoNginx(parent, config) { constructor(id, options = {}) { super(id, options, {services: _.set({}, options.name)}); };