Compare commits

...

2 Commits

Author SHA1 Message Date
AJ ONeal d70e660a79 0.12.2 4 years ago
AJ ONeal 4cda747412 bugfix fs 4 years ago
  1. 4
      lib/node-adapters/fsapi-real.js
  2. 2
      package-lock.json
  3. 2
      package.json

4
lib/node-adapters/fsapi-real.js

@ -1,5 +1,7 @@
"use strict";
var fs = require('fs').promises;
function create(Desi, options) {
var fsapi = Desi.fsapi;
options.blogdir = options.blogdir || options.working_path;
@ -33,7 +35,7 @@ function create(Desi, options) {
fsapi.getCache = function () {
return fs
.readFileAsync(options.blogdir, "/cache.json")
.readFile(options.blogdir, "/cache.json")
.catch(function (/*e*/) {
return {};
})

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "desirae",
"version": "0.12.1",
"version": "0.12.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "desirae",
"version": "0.12.1",
"version": "0.12.2",
"description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc",
"main": "desirae.js",
"scripts": {

Loading…
Cancel
Save