Correct fs.read function name in exception message

pull/12194/head
Tristan Partin 9 months ago committed by Dylan Baker
parent 35c6052723
commit 0b19d1c015
  1. 2
      mesonbuild/modules/fs.py

@ -235,7 +235,7 @@ class FSModule(ExtensionModule):
if isinstance(path, File):
if path.is_built:
raise MesonException(
'fs.read_file does not accept built files() objects')
'fs.read does not accept built files() objects')
path = os.path.join(src_dir, path.relative_name())
else:
if sub_dir:

Loading…
Cancel
Save