mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
12 lines
386 B
Bash
Executable File
12 lines
386 B
Bash
Executable File
#!/bin/bash
|
|
# Fix EVM imports to use node/v2 properly
|
|
|
|
echo "Fixing EVM imports to use node/v2..."
|
|
|
|
# Find all Go files and update imports
|
|
find . -name "*.go" -type f -not -path "./vendor/*" -not -path "./.git/*" | while read -r file; do
|
|
# Update node imports to v2
|
|
sed -i '' 's|"github.com/luxfi/node/|"github.com/luxfi/node/v2/|g' "$file"
|
|
done
|
|
|
|
echo "EVM import fix complete!" |