From 0103f91dbc3a503719687944638755ee02b35f90 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 18 Mar 2020 10:49:26 +0000 Subject: [PATCH 1/2] Point to source_map flame --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 97786d82..5b85839e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@nearform/bubbleprof": "^3.0.0", "@nearform/doctor": "^4.1.0", - "@nearform/flame": "^5.0.0", + "@nearform/flame": "nearform/node-clinic-flame#source_map", "any-shell-escape": "^0.1.1", "async": "^3.0.1", "autocannon": "^4.0.0", From f542e9fc42226fae3478277eabb9fdac927996e4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 18 Mar 2020 15:05:02 +0000 Subject: [PATCH 2/2] Add new args to runTool for relativePath and sourceMaps --- bin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin.js b/bin.js index 11d1e422..33ee55bc 100755 --- a/bin.js +++ b/bin.js @@ -486,6 +486,8 @@ async function runTool (args, Tool, version, uiOptions) { const openLocalFile = args.open && !args.upload const tool = new Tool({ + relativePath: parseInt(args['relative-path'], 10), + sourceMaps: parseInt(args['source-maps'], 10), sampleInterval: parseInt(args['sample-interval'], 10), detectPort: !!onPort, dest: args.dest,