roll-right 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3730,8 +3730,19 @@ console.log("<2>generate_all_concerns_templates","concern_rewrites.....",generic
3730
3730
  //
3731
3731
  let concerns_to_files = this.collect_concerns(this.outputs)
3732
3732
  //
3733
- let concerns_file = `[websites]/${this.project_dir}/concerns_to_files.json`
3734
- concerns_file = this.paths.compile_one_path(concerns_file)
3733
+
3734
+ let concerns_file =''
3735
+ if ( this.project_dir.indexOf("/home/") === 0 ) {
3736
+ concerns_file = `${this.project_dir}/concerns_to_files.json`
3737
+ concerns_file = concerns_file.replaceAll('//','/')
3738
+ } else {
3739
+ if ( this.project_dir[0] !== '[' ) {
3740
+ concerns_file = `[websites]/${this.project_dir}/concerns_to_files.json`
3741
+ }
3742
+ concerns_file = this.paths.compile_one_path(concerns_file)
3743
+ }
3744
+
3745
+
3735
3746
  await fos.write_out_pretty_json(concerns_file,concerns_to_files,4)
3736
3747
  //
3737
3748
  let ogroups_file = concerns_file.replace("concerns_to_files.json","ogroups_intermediate_files.json")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roll-right",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A utilty for generating template files, e.g. HTML templates, in one phase, and then generating final output files, e.g. HTML, in another phase.",
5
5
  "main": "index.js",
6
6
  "directories": {