mirror of
https://github.com/chenasraf/simple-scaffold.git
synced 2026-05-18 01:29:09 +00:00
fix: use console.info for handlebars parse warning
This commit is contained in:
@@ -121,7 +121,7 @@ export function handlebarsParse(
|
|||||||
return Buffer.from(outputContents)
|
return Buffer.from(outputContents)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log(config, LogLevel.debug, e)
|
log(config, LogLevel.debug, e)
|
||||||
log(config, LogLevel.warning, "Couldn't parse file with handlebars, returning original content")
|
log(config, LogLevel.info, "Couldn't parse file with handlebars, returning original content")
|
||||||
return Buffer.from(templateBuffer)
|
return Buffer.from(templateBuffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user