Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions testflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
// node testflow mydialog.txt
const fs = require("fs");

const SourceCodeFile = './sampleskill/index.js';
SourceCodeFile = './sampleskill/index.js';

if (fs.existsSync('./src/index.js')) {
SourceCodeFile = '../src/index.js';
}

const handlerName = 'handler'; //'lambda_handler'


Expand Down Expand Up @@ -641,4 +646,4 @@ function buildSlotObj(slotname, val) {
// BgMagenta = "\x1b[45m",
// BgCyan = "\x1b[46m",
// BgWhite = "\x1b[47m"
// };
// };