Compare commits
No commits in common. "d70e660a79d565cae43f54dcab33847058f97cf1" and "68e4de75bf747e248c8d18d09e77add608fa9d47" have entirely different histories.
d70e660a79
...
68e4de75bf
|
@ -1,7 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
var fs = require('fs').promises;
|
||||
|
||||
function create(Desi, options) {
|
||||
var fsapi = Desi.fsapi;
|
||||
options.blogdir = options.blogdir || options.working_path;
|
||||
|
@ -35,7 +33,7 @@ function create(Desi, options) {
|
|||
|
||||
fsapi.getCache = function () {
|
||||
return fs
|
||||
.readFile(options.blogdir, "/cache.json")
|
||||
.readFileAsync(options.blogdir, "/cache.json")
|
||||
.catch(function (/*e*/) {
|
||||
return {};
|
||||
})
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "desirae",
|
||||
"version": "0.12.2",
|
||||
"version": "0.12.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "desirae",
|
||||
"version": "0.12.2",
|
||||
"version": "0.12.1",
|
||||
"description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc",
|
||||
"main": "desirae.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue