@@ -109,7 +109,7 @@ export class RMarkdownKnitManager extends RMarkdownManager {
109109 if ( yamlParams ?. [ 'knit' ] ) {
110110 const knitParam = yamlParams [ 'knit' ] ;
111111 knitCommand = outputFormat ?
112- `${ knitParam } (${ docPath } , output_format = '${ outputFormat } ')` :
112+ `${ knitParam } (${ docPath } , output_format = '${ outputFormat } ')` :
113113 `${ knitParam } (${ docPath } )` ;
114114 } else if ( ! this . isREADME ( docPath ) && yamlParams ?. [ 'site' ] ) {
115115 knitCommand = outputFormat ?
@@ -127,7 +127,7 @@ export class RMarkdownKnitManager extends RMarkdownManager {
127127 // check if the workspace of the document is a R Markdown site.
128128 // the definition of what constitutes an R Markdown site differs
129129 // depending on the type of R Markdown site (i.e., "simple" vs. blogdown sites)
130- private async findSiteParam ( ) : Promise < string | undefined > {
130+ private async findSiteParam ( ) : Promise < string | undefined > {
131131 const rootFolder = vscode . workspace . workspaceFolders [ 0 ] . uri . fsPath ;
132132 const wad = vscode . window . activeTextEditor . document . uri . fsPath ;
133133 const indexFile = ( await vscode . workspace . findFiles ( new vscode . RelativePattern ( rootFolder , 'index.{Rmd,rmd, md}' ) , null , 1 ) ) ?. [ 0 ] ;
@@ -136,7 +136,7 @@ export class RMarkdownKnitManager extends RMarkdownManager {
136136 // 'Simple' R Markdown websites require all docs to be in the root folder
137137 if ( fs . existsSync ( siteRoot ) ) {
138138 return 'rmarkdown::render_site' ;
139- // Other generators may allow for docs in subdirs
139+ // Other generators may allow for docs in subdirs
140140 } else if ( indexFile ) {
141141 const indexData = this . getYamlFrontmatter ( indexFile . fsPath ) ;
142142 if ( indexData ?. [ 'site' ] ) {
0 commit comments