easy-attach icon indicating copy to clipboard operation
easy-attach copied to clipboard

Missing required arguments for the line to copy-paste

Open ankon opened this issue 5 years ago • 1 comments

https://github.com/hediet/easy-attach/blob/746c21a300e20f4a5ba9f3c7f9a0b0e8bee9beec/src/index.ts#L23

But, the argument seems to be mandatory as per https://github.com/hediet/easy-attach/blob/746c21a300e20f4a5ba9f3c7f9a0b0e8bee9beec/src/index.ts#L13.

I think this line should be changed to include a {} parameter to avoid TypeScript reporting errors in the copy-pasted line:

	const codeToTriggerDebugger = `require(${moduleStr})({});`;

ankon avatar May 11 '20 15:05 ankon

Good catch! I'll try to fix it soon.

hediet avatar May 11 '20 18:05 hediet