浏览代码

fix feed usage IIRC api update

Gregg Tavares 7 年之前
父节点
当前提交
872d1a996c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build/js/build.js

+ 1 - 1
build/js/build.js

@@ -475,7 +475,7 @@ var Builder = function(outBaseDir, options) {
       try {
         const outPath = path.join(g_outBaseDir, options.lessons, "atom.xml");
         console.log("write:", outPath);
-        writeFileIfChanged(outPath, feed.render('atom-1.0'));
+        writeFileIfChanged(outPath, feed.atom1());
       } catch (err) {
         return Promise.reject(err);
       }