@probelabs/probe 0.6.0-rc114 → 0.6.0-rc116

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/bin/probe CHANGED
@@ -29,12 +29,12 @@ async function ensureBinary(binaryPath) {
29
29
  try {
30
30
  // Try to import the downloader and download the binary
31
31
  const { downloadProbeBinary } = await import('../src/downloader.js');
32
- console.log('Probe binary not found, downloading...');
32
+ console.error('Probe binary not found, downloading...');
33
33
  await downloadProbeBinary();
34
34
 
35
35
  // Check if the binary now exists and is executable
36
36
  if (await isExecutable(binaryPath)) {
37
- console.log('Binary downloaded successfully.');
37
+ console.error('Binary downloaded successfully.');
38
38
 
39
39
  // On macOS, try to remove quarantine attributes that might prevent execution
40
40
  if (process.platform === 'darwin') {
@@ -133,7 +133,7 @@ async function main() {
133
133
 
134
134
  // Check if binary exists and is executable
135
135
  if (!(await isExecutable(binaryPath))) {
136
- console.log('Probe binary not found or not executable, attempting to download...');
136
+ console.error('Probe binary not found or not executable, attempting to download...');
137
137
  const downloadSuccess = await ensureBinary(binaryPath);
138
138
  if (!downloadSuccess) {
139
139
  console.error('Failed to download probe binary. Please try installing again or check your internet connection.');