Skip to content

Syntax problem #3

@ghost

Description

Hello,

I'm trying to use your module on
npm 3.10.10
visual studio code : powershell terminal
Windows 10

I have use the script normally, it clone and build perfectly.
But it doesn't execute any "execSync" starting with blank line.

The only way for me to make it work perfectly is to put everything on the same line.

Exemple if I want "push" to work I must change :

execSync(`
    cd ${config.folder} &&
    git push --tags ${config.repository} ${config.branch}
`, { cwd });

to :

execSync('cd ${config.folder} && git push --tags ${config.repository} ${config.branch}', { cwd });

anyway, thanks you for you job ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions