Skip to content

Commit

Permalink
For #3 Stop hard-coding root path content for cms utility
Browse files Browse the repository at this point in the history
  • Loading branch information
victorkane committed Nov 18, 2018
1 parent b42f7f7 commit 890449b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cms/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ var inquirer = require('inquirer')
var shell = require('shelljs')
var fs = require('fs')
var path = require('path')
require('dotenv').config()

inquirer.registerPrompt('fuzzypath', require('inquirer-fuzzy-path'))

var questions = [
{
type: 'fuzzypath',
name: 'file',
rootPath: '/home/durabledrupal/ddcmr/dev/cms/content',
rootPath: process.env.ROOT_PATH_CONTENT,
message: 'Choose single file, entire content type (folder) or all content (parent content folder) to upsert'
}
]
Expand Down

0 comments on commit 890449b

Please sign in to comment.