Skip to content

Commit

Permalink
fix indexOf file
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslabbe committed Sep 23, 2016
1 parent 3f5b4a3 commit b6e6317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "abe-cli",
"version": "2.4.0",
"version": "2.4.1",
"description": "Abe command line tool",
"main": "src/server/app.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/helpers/file-attr.js
Expand Up @@ -177,7 +177,7 @@ export default class FileAttr {
*/
static getVersions(docPath) {
var files = Manager.instance.getList()
var fileWithoutExtension = docPath.replace('.' + config.files.templates.extension, '')
var fileWithoutExtension = docPath.replace('.' + config.files.templates.extension, '.json')

var result = []
Array.prototype.forEach.call(files, (file) => {
Expand Down

0 comments on commit b6e6317

Please sign in to comment.