mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-10 15:57:07 +01:00
Fix generation glitches.
Fix output file name glitch, writing CSS files to destination folder, and an issue where the process would evaporate before PDF/PNG generation could complete.
This commit is contained in:
@ -9,9 +9,8 @@ exception ###
|
||||
module.exports = ( cmd, args, isSync, callback, param ) ->
|
||||
|
||||
try
|
||||
|
||||
# .spawnSync not available on earlier Node.js, so default to .spawn
|
||||
spawn = require('child_process')[ if isSync then 'spawnSync' else 'spawn'];
|
||||
spawn = require('child_process')[ if isSync then 'spawnSync' else 'spawn']
|
||||
info = spawn cmd, args
|
||||
|
||||
# Check for error depending on whether we're sync or async TODO: Promises
|
||||
|
Reference in New Issue
Block a user