/dev/null doesn't exist on the Windows operating system but there's an equivalent file. Gofer consequently raises an error on Windows. Python hides this difference under the cross-platform code os.devnull. This PR updates usages of /dev/null to os.devnull, which is compatible with all operating systems.
/dev/null
doesn't exist on the Windows operating system but there's an equivalent file. Gofer consequently raises an error on Windows. Python hides this difference under the cross-platform codeos.devnull
. This PR updates usages of/dev/null
toos.devnull
, which is compatible with all operating systems.