fix: Rename files to correct paths (remove leading dots)
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
17
bin/git-agent-sync
Normal file
17
bin/git-agent-sync
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Find Node.js
|
||||
if [ -n "$NODE_PATH" ]; then
|
||||
NODE="$NODE_PATH"
|
||||
elif command -v node &> /dev/null; then
|
||||
NODE="node"
|
||||
else
|
||||
echo "Error: Node.js is not installed" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run the CLI
|
||||
exec "$NODE" "$SCRIPT_DIR/dist/index.js" "$@"
|
||||
Reference in New Issue
Block a user