We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f599e07 commit be0e125Copy full SHA for be0e125
lib/tc.js
@@ -19,7 +19,10 @@ async function getDefaultInterface() {
19
const result = await shell(command);
20
if (result.stdout.length === 0) {
21
const result = await shell('sudo ip route show');
22
- throw new Error('There was an error getting the default interface %s', result.stdout);
+ throw new Error(
23
+ 'There was an error getting the default interface %s',
24
+ result.stdout
25
+ );
26
}
27
return result.stdout;
28
0 commit comments