1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-10 15:57:07 +01:00

Replace file-exists.js with NPM path-exists.

This commit is contained in:
hacksalot
2015-12-22 18:55:17 -05:00
parent dab6ebfd82
commit ebad1677bc
4 changed files with 3 additions and 21 deletions

View File

@ -224,7 +224,7 @@ Definition of the TemplateGenerator class.
PATH.parse( require.resolve('fluent-themes') ).dir,
this.opts.theme
);
var exists = require('../utils/file-exists');
var exists = require('path-exists').sync;
if( !exists( tFolder ) ) {
tFolder = PATH.resolve( this.opts.theme );
if( !exists( tFolder ) ) {