Skip to content

Commit e39039b

Browse files
committed
adding telemetry to info command as well
1 parent fedc2d8 commit e39039b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/methods/get-function-info.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ export async function getFunctionInfo(functionDir: string): Promise<FunctionInfo
3333
'--path', functionName
3434
], {
3535
cwd: appRootDir,
36-
stdio: ['pipe', 'pipe', 'pipe']
36+
stdio: ['pipe', 'pipe', 'pipe'],
37+
env: {
38+
...process.env,
39+
SHOPIFY_INVOKED_BY: 'shopify-function-test-helpers'
40+
}
3741
});
3842

3943
let stdout = '';

0 commit comments

Comments
 (0)