muaddib-scanner 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muaddib-scanner",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Supply-chain threat detection & response for npm",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -59,7 +59,7 @@ async function scanProject() {
59
59
  const webhookUrl = config.get('webhookUrl');
60
60
  const failLevel = config.get('failLevel');
61
61
 
62
- let cmd = `npx muaddib-scanner scan "${projectPath}" --json`;
62
+ let cmd = `node "${path.join(__dirname, '..', 'bin', 'muaddib.js')}" scan "${projectPath}" --json`;
63
63
  if (webhookUrl) {
64
64
  cmd += ` --webhook "${webhookUrl}"`;
65
65
  }