We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 866323b commit c5ea666Copy full SHA for c5ea666
1 file changed
packages/gapic-generator/gapic/templates/scripts/fixup_%service_keywords.py.j2
@@ -133,5 +133,13 @@ Note: This tool operates at a best-effort level at converting positional
133
help='a file to fix up via un-flattening',
134
)
135
args = parser.parse_args()
136
- fix_files(args.dirs or [], args.files or [])
+ print(
137
+ """It is strongly, strongly recommended that you commit outstanding changes and
138
+back up your source tree before running this conversion script.
139
+Please take a moment to do that now if you haven't already.
140
+"""
141
+ )
142
+ resp = input("Really attempt to convert sources? yes/[no]: ")
143
+ if resp == "yes":
144
+ fix_files(args.dirs or [], args.files or [])
145
{% endblock %}
0 commit comments