Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cadf950

Browse files
committed
Fix variable assignment
1 parent feda3d9 commit cadf950

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-run-script",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "Run a script on multiple repositories, cloning them if needed.",
55
"main": "dist/index.js",
66
"type": "commonjs",

src/templates/cp.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export default class CpTemplate implements Template {
3535
flags: GenerateTemplateCliFlags
3636
) => {
3737
const templateString = `#!/bin/bash
38-
$FILE="${source_file}"
39-
$RELATIVE_DEST="${dest_path}"
40-
$COMMIT_MESSAGE="${commit_message}"
38+
FILE="${source_file}"
39+
RELATIVE_DEST="${dest_path}"
40+
COMMIT_MESSAGE="${commit_message}"
4141
git pull
4242
cp -r $FILE "$RELATIVE_DEST"
4343
git add "$RELATIVE_DEST"

0 commit comments

Comments
 (0)