| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f914bff commit df155b8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,7 +41,7 @@ if (process.config.variables.want_separate_host_toolset !== 0) | |||
| 41 | 41 | if (process.platform === 'linux') { | |
| 42 | 42 | try { | |
| 43 | 43 | const osReleaseText = readFileSync('/etc/os-release', { encoding: 'utf-8' }); | |
| 44 | - if (!/^NAME="Ubuntu"/.test(osReleaseText)) { | ||
| 44 | + if (!/^NAME="Ubuntu"/m.test(osReleaseText)) { | ||
| 45 | 45 | throw new Error('Not Ubuntu.'); | |
| 46 | 46 | } | |
| 47 | 47 | } catch { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments