Commit 4725df86 authored by Fred Chasen's avatar Fred Chasen

Fix rendererPath typo

parent 4614d995
......@@ -117,7 +117,7 @@ Renderer.prototype.getRendererPath = function () {
var directoryPath = _path2.default.normalize(__dirname);
var rendererPath = _path2.default.resolve(directoryPath, '../renderer');
if (rendererPath[normPath.length] != "/") {
if (rendererPath[rendererPath.length] != "/") {
rendererPath += "/";
}
......
{
"name": "vivliostyle-electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Render Html to PDFs using Vivliostyle.js and Electron",
"repository": {
"type": "git",
......
......@@ -95,7 +95,7 @@ Renderer.prototype.getRendererPath = function () {
var directoryPath = path.normalize(__dirname);
var rendererPath = path.resolve(directoryPath, '../renderer');
if (rendererPath[normPath.length] != "/") {
if (rendererPath[rendererPath.length] != "/") {
rendererPath += "/";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment