This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* AWS Module: Action: Modularized Code | |
*/ | |
var Promise = require('bluebird'); | |
var AWS = require('aws-sdk'); | |
var request = require('request'); | |
var SAILTHRU_CONSTANTS = require('../lib/constants'); | |
var s3 = new AWS.S3(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Promise = require('bluebird'); | |
var path = require('path'); | |
var fs = Promise.promisifyAll(require('fs')); | |
const TEMPLATE_DIRECTORY = 'templates'; | |
// The calling script/handler passes in the directory in which it | |
// lives by calling __dirname | |
var findHandlebarsDirectory = function(handlerDirectory) { |