@@ -117,7 +117,7 @@ export const setup_workspace_listeners = (
117117 . createHash ( 'md5' )
118118 . update ( sanitized_file_path )
119119 . digest ( 'hex' )
120- const temp_filename = `cwc-review- ${ hash } .tmp`
120+ const temp_filename = `cwc-${ hash } .tmp`
121121 const temp_file_path = path . join ( os . tmpdir ( ) , temp_filename )
122122 const is_deleted =
123123 ! is_new && new_content == '' && original_content != ''
@@ -194,7 +194,7 @@ export const setup_workspace_listeners = (
194194 . createHash ( 'md5' )
195195 . update ( sanitized_file_path )
196196 . digest ( 'hex' )
197- const temp_filename = `cwc-review- ${ hash } .tmp`
197+ const temp_filename = `cwc-${ hash } .tmp`
198198 const temp_file_path = path . join ( os . tmpdir ( ) , temp_filename )
199199
200200 const reviewable_file : ReviewableFile = {
@@ -286,7 +286,7 @@ export const setup_workspace_listeners = (
286286 . createHash ( 'md5' )
287287 . update ( sanitized_file_path )
288288 . digest ( 'hex' )
289- const temp_filename = `cwc-review- ${ hash } .tmp`
289+ const temp_filename = `cwc-${ hash } .tmp`
290290 const temp_file_path = path . join ( os . tmpdir ( ) , temp_filename )
291291
292292 const reviewable_file : ReviewableFile = {
@@ -386,7 +386,7 @@ export const setup_workspace_listeners = (
386386 . createHash ( 'md5' )
387387 . update ( oldSanitized )
388388 . digest ( 'hex' )
389- const oldTemp = path . join ( os . tmpdir ( ) , `cwc-review- ${ oldHash } .tmp` )
389+ const oldTemp = path . join ( os . tmpdir ( ) , `cwc-${ oldHash } .tmp` )
390390
391391 const deleted_diff_stats = get_diff_stats ( {
392392 original_content : existing . original_content ,
@@ -447,7 +447,7 @@ export const setup_workspace_listeners = (
447447 . createHash ( 'md5' )
448448 . update ( newSanitized )
449449 . digest ( 'hex' )
450- const newTemp = path . join ( os . tmpdir ( ) , `cwc-review- ${ newHash } .tmp` )
450+ const newTemp = path . join ( os . tmpdir ( ) , `cwc-${ newHash } .tmp` )
451451
452452 const create_diff_stats = get_diff_stats ( {
453453 original_content : '' ,
@@ -478,7 +478,7 @@ export const setup_workspace_listeners = (
478478 . createHash ( 'md5' )
479479 . update ( oldSanitized )
480480 . digest ( 'hex' )
481- const oldTemp = path . join ( os . tmpdir ( ) , `cwc-review- ${ oldHash } .tmp` )
481+ const oldTemp = path . join ( os . tmpdir ( ) , `cwc-${ oldHash } .tmp` )
482482
483483 const deleted_diff_stats = get_diff_stats ( {
484484 original_content : new_content ,
0 commit comments