diff --git a/src/apptask.js b/src/apptask.js index abc7709a0..a394f5fec 100644 --- a/src/apptask.js +++ b/src/apptask.js @@ -50,7 +50,6 @@ var addons = require('./addons.js'), path = require('path'), paths = require('./paths.js'), safe = require('safetydance'), - semver = require('semver'), shell = require('./shell.js'), SubdomainError = require('./subdomainerror.js'), subdomains = require('./subdomains.js'), @@ -78,14 +77,6 @@ function debugApp(app, args) { debug(prefix + ' ' + util.format.apply(util, Array.prototype.slice.call(arguments, 1))); } -function targetBoxVersion(manifest) { - if ('targetBoxVersion' in manifest) return manifest.targetBoxVersion; - - if ('minBoxVersion' in manifest) return manifest.minBoxVersion; - - return '0.0.1'; -} - // We expect conflicts to not happen despite closing the port (parallel app installs, app update does not reconfigure nginx etc) // https://tools.ietf.org/html/rfc6056#section-3.5 says linux uses random ephemeral port allocation function getFreePort(callback) {