diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gitbook-core/src/models/File.js | 5 | ||||
-rw-r--r-- | packages/gitbook/package.json | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/packages/gitbook-core/src/models/File.js b/packages/gitbook-core/src/models/File.js index c5ac654..efc4f11 100644 --- a/packages/gitbook-core/src/models/File.js +++ b/packages/gitbook-core/src/models/File.js @@ -21,9 +21,8 @@ class File extends Record(DEFAULTS) { } /** - * Returns the relative path from this file to "to" - * @param {String} to - * @return {String} + * @param {String} to Absolute path + * @return {String} The same path, but relative to this file */ relative(to) { return path.relative( diff --git a/packages/gitbook/package.json b/packages/gitbook/package.json index 11aa0f7..53a5406 100644 --- a/packages/gitbook/package.json +++ b/packages/gitbook/package.json @@ -104,4 +104,4 @@ "babel-register": "^6.14.0", "mocha": "^3.0.2" } -} +}
\ No newline at end of file |