diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index 804200d1..3a59d657 100644 --- a/compiler/webpack.config.js +++ b/compiler/webpack.config.js @@ -62,7 +62,7 @@ module.exports = { // }, // path.join(__dirname, 'package.json') // ), - new InlineEnvironmentVariablesPlugin({ VERSION: '1.1.25' }), + new InlineEnvironmentVariablesPlugin({ VERSION: '1.1.26' }), new CopyPlugin({ patterns: [ { from: './src/knitr/knitr.R', to: './' }, diff --git a/release/cli.js b/release/cli.js index 3e366807..ec5ff369 100755 --- a/release/cli.js +++ b/release/cli.js @@ -1367,7 +1367,7 @@ function createKnitrCommand(file, ctx, uniqueId) { const baseDir = file.dirname || ''; const rFile = external_path_default().join(__dirname, 'knitr.R'); const cacheDir = external_path_default().join(ctx.cacheDir, uniqueId); - let cmd = `Rscript ${rFile} ${filePath} ${baseDir}/ "${cacheDir}/"`; + let cmd = `Rscript "${rFile}" "${filePath}" "${baseDir}/" "${cacheDir}/"`; if (ctx.options.pythonBin) { cmd += ` "${ctx.options.pythonBin}"`; @@ -3320,7 +3320,7 @@ async function checkForLatestVersion() { const response = await external_node_fetch_default()(`https://api.github.com/repos/${repo}/releases/latest`); const json = await response.json(); const latestTag = json.tag_name.replace('v', ''); - const currentVersion = "1.1.25"; + const currentVersion = "1.1.26"; if (latestTag !== currentVersion) { console.log(external_chalk_default().yellow.bold('New version available')); diff --git a/release/compiler.js b/release/compiler.js index 2d2114e9..4e583125 100644 --- a/release/compiler.js +++ b/release/compiler.js @@ -10735,7 +10735,7 @@ function createKnitrCommand(file, ctx, uniqueId) { const baseDir = file.dirname || ''; const rFile = path.join(__dirname, 'knitr.R'); const cacheDir = path.join(ctx.cacheDir, uniqueId); - let cmd = `Rscript ${rFile} ${filePath} ${baseDir}/ "${cacheDir}/"`; + let cmd = `Rscript "${rFile}" "${filePath}" "${baseDir}/" "${cacheDir}/"`; if (ctx.options.pythonBin) { cmd += ` "${ctx.options.pythonBin}"`; @@ -12660,7 +12660,7 @@ async function check_for_latest_version_checkForLatestVersion() { const response = await fetch(`https://api.github.com/repos/${repo}/releases/latest`); const json = await response.json(); const latestTag = json.tag_name.replace('v', ''); - const currentVersion = "1.1.25"; + const currentVersion = "1.1.26"; if (latestTag !== currentVersion) { console.log(chalk.yellow.bold('New version available'));