mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 06:27:59 +01:00
Replace util.isOS with a platform queryable util.OS object.
--HG-- extra : rebase_source : 2a00dd4e3a023c9de11818bb95d86d9901341c6a
This commit is contained in:
@@ -1223,7 +1223,7 @@ const Buffer = Module("buffer", {
|
||||
let arg = args[0];
|
||||
|
||||
// FIXME: arg handling is a bit of a mess, check for filename
|
||||
dactyl.assert(!arg || arg[0] == ">" && !util.isOS("WINNT"),
|
||||
dactyl.assert(!arg || arg[0] == ">" && !util.OS.isWindows,
|
||||
"E488: Trailing characters");
|
||||
|
||||
prefs.withContext(function () {
|
||||
|
||||
Reference in New Issue
Block a user