Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #103 from Financial-Times/skip-layout-checks-prompt
Browse files Browse the repository at this point in the history
skip layout checks prompt
  • Loading branch information
wheresrhys committed May 11, 2015
2 parents c05b47f + 2d90728 commit 9e8f821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/verify-layout-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function(opts) {
var layout = opts.layout || 'wrapper';

console.log('Checking bower dependencies for layout ' + layout);
console.log('If this app doesn\'t render any templates call nbt verify with --skip-layout-checks');

if (!fs.existsSync(path.join(process.cwd(), 'node_modules/ft-next-express/layouts/', layout + '.html'))) {
reject('Please specify a valid layout to check template dependencies for');
Expand Down

0 comments on commit 9e8f821

Please sign in to comment.