mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Create symlinks only if they don't exist
This commit is contained in:
parent
6b4982d75b
commit
674e935cf5
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +3,9 @@
|
|||
# exit when any command fails
|
||||
set -e
|
||||
|
||||
# only do this if the files don't exist ai!
|
||||
ln -s /npm-install/node_modules /npm-install/package-lock.json .
|
||||
# Create symlinks if they don't exist
|
||||
[ ! -e node_modules ] && ln -s /npm-install/node_modules .
|
||||
[ ! -e package-lock.json ] && ln -s /npm-install/package-lock.json .
|
||||
|
||||
|
||||
sed -i 's/\bxtest(/test(/g' *.spec.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue