From 18e0768a2b94f10d188125997c96bc733ddcef1e Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Fri, 13 Dec 2013 11:59:23 -0800 Subject: docs: use q-io instead of deprecated q-fs This recursive process.nextTick error[1] was probably coming from q-fs, which is not actively maintained. This updates to q-io/fs instead. [1]: https://travis-ci.org/angular/angular.js/jobs/15391590 --- docs/src/writer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src/writer.js') diff --git a/docs/src/writer.js b/docs/src/writer.js index 412d5437..498766b5 100644 --- a/docs/src/writer.js +++ b/docs/src/writer.js @@ -3,7 +3,7 @@ * for testability */ var pathUtils = require('path'); -var qfs = require('q-fs'); +var qfs = require('q-io/fs'); var Q = require('qq'); var OUTPUT_DIR = pathUtils.join('build','docs'); var TEMPLATES_DIR = pathUtils.join('docs','src','templates'); @@ -76,7 +76,7 @@ function symlink(from, to, type) { // qfs will normalize the path arguments for us here return qfs.exists(to).then(function(exists) { if (!exists) { - return qfs.symbolicLink(to, from, type); + return qfs.symbolicLink(to, from, type || 'file'); } }); } -- cgit v1.2.3