File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
test/fixtures/custom-sandbox Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 2929 "chalk" : " ^2.0.1" ,
3030 "cookie" : " ^0.3.1" ,
3131 "debug" : " ^3.0.0" ,
32- "exists-sync" : " 0.0.4" ,
3332 "najax" : " ^1.0.2" ,
3433 "rsvp" : " ^4.7.0" ,
3534 "simple-dom" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const chalk = require('chalk');
66
77const najax = require ( 'najax' ) ;
88const SimpleDOM = require ( 'simple-dom' ) ;
9- const existsSync = require ( 'exists-sync' ) ;
109const debug = require ( 'debug' ) ( 'fastboot:ember-app' ) ;
1110
1211const FastBootInfo = require ( './fastboot-info' ) ;
@@ -123,7 +122,7 @@ class EmberApp {
123122 if ( whitelist . indexOf ( moduleName ) > - 1 ) {
124123 let nodeModulesPath = path . join ( distPath , 'node_modules' , moduleName ) ;
125124
126- if ( existsSync ( nodeModulesPath ) ) {
125+ if ( fs . existsSync ( nodeModulesPath ) ) {
127126 return require ( nodeModulesPath ) ;
128127 } else {
129128 // If it's not on disk, assume it's a built-in node package
Original file line number Diff line number Diff line change 11'use strict' ;
22
33const vm = require ( 'vm' ) ;
4- const fs = require ( 'fs' ) ;
5- const existsSync = require ( 'exists-sync' ) ;
64const Sandbox = require ( './../../../src/sandbox' ) ;
75
86/**
You can’t perform that action at this time.
0 commit comments