Compare commits

...

2 커밋

작성자 SHA1 메시지 날짜
AJ ONeal d70e660a79 0.12.2 2020-11-08 20:53:00 -07:00
AJ ONeal 4cda747412 bugfix fs 2020-11-08 20:52:56 -07:00
3개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@ -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 generated
파일 보기

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

파일 보기

@ -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": {