We flip the default mode to always regenerate the file,
and expose an option to ignore if it exists.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2022-08-18 01:11:18 +05:30
коммит произвёл GitHub
родитель a78d91e7c0
Коммит 3498592a45
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -1,6 +1,6 @@
#!/bin/bash
if [[ ! -f "go.work" ]] ;
if [[ $1 != "true" ]] ;
then
echo "Creating a go.work file"