Skip to content

Commit 8aa6d74

Browse files
author
apovkh
committed
refactor: ♻️ echo and run command
1 parent ad50a75 commit 8aa6d74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/git-plop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ if [ ! -f "$src_dir/package.json" ] || { [ ! -f "$src_dir/plopfile.js" ] && [ !
3636
exit 1
3737
fi
3838

39-
echo "Found plopfile: [$src_dir/plopfile.js or plopfile.ts]"
39+
echo "Found plopfile: [$src_dir/plopfile.*]"
4040
echo "Run plop with codebase: [$workdir_dir]"
4141

4242
# Run Docker with the updated mounts and env variable
4343
docker run -it --rm \
4444
-v "$src_dir:/plop" \
4545
-v "$workdir_dir:/codebase" \
4646
-e CODEBASE_DIR="$workdir_dir" \
47-
plop_plop:latest bash -c "npm run plop"
47+
ghcr.io/justcoded/plopjs:0.1.0

0 commit comments

Comments
 (0)