Permalink
Browse files

Merge pull request #1650 from ajaxorg/hosted_var

Check whether the hosted option is in the config file
  • Loading branch information...
zefhemel committed Jun 4, 2012
2 parents 0183874 + 77ad24f commit b494c51accf75fc17937eb17f951eabc9c45747f
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins-server/cloud9.core/ide-plugin.js
@@ -6,6 +6,7 @@ var IdeServer = require("./ide");
module.exports = function setup(options, imports, register) {
assert(options.fsUrl, "option 'fsUrl' is required");
+ assert.equal(typeof options.hosted, "boolean", "option 'hosted' is required");
var log = imports.log;
var hub = imports.hub;

0 comments on commit b494c51

Please sign in to comment.