mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 16:30:11 +00:00
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
This commit is contained in:
commit
0f83f8f5c2
@ -283,9 +283,8 @@ Implementation of the 'generate' verb for HackMyResume.
|
|||||||
Verify the specified theme name/path.
|
Verify the specified theme name/path.
|
||||||
*/
|
*/
|
||||||
function verify_theme( themeNameOrPath ) {
|
function verify_theme( themeNameOrPath ) {
|
||||||
var tFolder = PATH.resolve(
|
var tFolder = PATH.join(
|
||||||
__dirname,
|
parsePath ( require.resolve('fresh-themes') ).dirname,
|
||||||
'../../node_modules/fresh-themes/themes',
|
|
||||||
themeNameOrPath
|
themeNameOrPath
|
||||||
);
|
);
|
||||||
var exists = require('path-exists').sync;
|
var exists = require('path-exists').sync;
|
||||||
|
Loading…
Reference in New Issue
Block a user