Skip to content

Commit

Permalink
update deprecated requires
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Desaulniers committed Oct 30, 2013
1 parent 0cac10c commit 78bd3e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/subprocess.js
Expand Up @@ -156,8 +156,8 @@ Cu.import("resource://gre/modules/ctypes.jsm");

const NS_LOCAL_FILE = "@mozilla.org/file/local;1";

const Runtime = require("api-utils/runtime");
const Environment = require("api-utils/environment").env;
const Runtime = require("sdk/system/runtime");
const Environment = require("sdk/system/environment").env;
const DEFAULT_ENVIRONMENT = [];
if (Runtime.OS == "Linux" && "DISPLAY" in Environment) {
DEFAULT_ENVIRONMENT.push("DISPLAY=" + Environment.DISPLAY);
Expand Down

0 comments on commit 78bd3e8

Please sign in to comment.